Packages with compiled Python scripts (*.py[co]) must have a dependency on python(abi). This dependency: - Must not be static in the spec file, e.g., "Requires: python(abi) = 2.5" - Must not appear more than once in the RPM - Must appear regardless of where the compiled script is installed
This bug has been triaged
The dependency on python(abi) is generated automatic no matter if 2.6 or even 3.1. You only need to buildrequire the correct python version: python2-devel or python3-devel rpmlint also detects, if files under /usr/lib*/python?.?/site-packages/* are compiled with the correct python version, e.g. when files in /usr/lib*/python3.1/site-packages/* are compiled with python 2.6 this is detected and printed. I don't know, what you want to check for anything else beyond that. Did I miss something?
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Given that the python(abi) dependency is autogenerated and no longer needs to be hard-coded, there is no real benefit to an rpmlint check, as it would only catch the case where the Fedora python autodependency mechanisms failed in koji.