catfish upstream supports python3. I am modifying the spec file to support it, and will post the patch here.
Created attachment 1148285 [details]
Noticed that there were a few stray shebangs that are unnecessary and cause rpmlint errors; this patch removes them.
Created attachment 1148286 [details]
Updated spec file that builds the python3 variant
I note that I also removed the Group tag from the spec file, as that is no longer needed.
Scratch build can be found here:
(In reply to John Dulaney from comment #1)
> Created attachment 1148285 [details]
> Noticed that there were a few stray shebangs that are unnecessary and cause
> rpmlint errors; this patch removes them.
Maybe do it with sed in spec, so it dos not have to be rebased with new releases?
Thank you for taking the time to make patch for Python 3!
However, the required practice is that stray shebangs have to be removed in some automatic way—preferably using the `sed` tool. You can read detailed instructions on how to do it in the Python RPM Porting Guide, section on Shebangs .
The patch you posted that removes the shebangs will only work on the current version of the source code, so with every release the packager might have to made a new patch, which is why this way is ill advised.
Thank you very much for your time!
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Is there any problem with adding `sed` to specfile? Can I help you with something?
Do not hesitate to contact me for any help.
* Wed Aug 17 2016 Mamoru TASAKA <firstname.lastname@example.org> - 1.4.2-2
- Support python3 for F-25+ (only)