Red Hat Bugzilla – Bug 1279704
python-os-testr script should not be in both subpackages
Last modified: 2015-11-14 12:58:28 EST
Description of problem:
The python-os-testr package contains a subpackage for python2 and python3. The python2 subpackage contains scripts which need python3. This causes several problems:
* Python2 packages shouldn't require python3 and vice versa.
* The scripts which need python3 are broken without manual intervention since under python3, the scripts won't be able to find their required libraries (as the needed deps are not installed).
The Fedora Packaging Guidelines specify how to fix this situation:
After a bit of testing of this package, I believe that the package does not need a separate version of the scripts for python2 and python3 but I'm not intimately familiar with it so I could be wrong. I've created a patch for the spec file that will remove the extraneous version of the script (and also fix a stray shebang that creates a false dep on python2 in the python3 package).
Please apply the patch and build a new version of the package if the script does not need to be specific to the python version. If the scripts do need to exist in separate versions for each python version, please take a look at how the guidelines tell you to create separately named scripts for each version or, if you need help, feel free to reach out to me or another packager familiar with python3 packaging in Fedora (there's many of us in the #fedora-python irc channel on irc.freenode.net. I'm abadger1999 there).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Scratch build with that patch: http://koji.fedoraproject.org/koji/taskinfo?taskID=11763872
Thanks for the patch,
I have applied the patch and created a new build: http://koji.fedoraproject.org/koji/buildinfo?buildID=699296