All the python files in one of my packages (nfs-ganesha) have #!/usr/bin/python[23] shebangs.
The nfs-ganesha.spec does _not_ have python-unversioned-command as a BuildRequires:
I do not have python-unversioned-command installed on my f30 box.
AIUI, setup.py alters the shebangs to match the python that's in the path when it runs.
When I build (rpmbuild or mock) on my f30 box, the shebangs are left unchanged.
Yet the packages built in koji all have their python shebangs changed to /usr/bin/python (by setup.py.) The build.logs show that python-unversioned-command is not installed. Where did it get /usr/bin/python from?
--
Kaleb
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx