Upstream, this software supports Python 3. Please provide a Python 3 package for Fedora. According to the Python packaging guidelines [0], software must be packaged for Python 3 if upstream supports it. The guidelines give detailed information on how to do this, and even provide an example spec file [1]. The current best practice is to provide subpackages for the two Python versions (called "Common SRPM" in the guidelines). Alternatively, if nothing depends on your Python2 package, you can just switch to Python 3 entirely. It's fine to do this in Rawhide only. If anything is unclear, or if you need any kind of assistance with the porting, you can ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy to help! [0] https://fedoraproject.org/wiki/Packaging:Python [1] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
Created attachment 1185180 [details] updated spec file Patched specfile: - update to version 1.6.8 - url and source update - modernized specfile with Python 3 packaging
Created attachment 1185398 [details] spec file correction Correction of missing python_provide scripts
Hi Jan! The patch looks good to me! There's just a very minor nitpick: The LICENSE file should go to the %license macro instead of the %doc macro now. Apart from that it looks perfect.
Created attachment 1185563 [details] Correction of %doc and %license macros. Correction of %doc and %license macros in the spec file.
Hi Tomáš, thank you for the review and your hint. I have corrected the specfile. May I ask you to check again?
Hi Jan, looks good to me!
Tomáš, thank you for the review. Hi Matthias, the attached spec file is ready to provide the Python 3 subpackage.
A few nits here: - I would replace %setup with %autosetup - rm -rf egg-info has been deprecated a while ago - I still would look at distributions not supporting python3; RHEL/CentOS/EPEL does not; adding a tiny %if etc. makes life for those folks easier. I'll go ahead and apply etc. the patch now. Thanks everyone.