On 04. 01. 22 13:57, Vitaly Zaitsev via devel wrote:
On 04/01/2022 11:09, Florian Weimer wrote:
We have some scripts that are dual Python 2/Python 3, and Fedora tooling
forced us to carry a downstream-only patch to replace /usr/bin/python
with /usr/bin/python3.  I'd like to remove this patch.

It is forbidden.

You should switch your SPEC to modern 201x-era guidelines

202x-era

and all shebangs will be handled automatically with the %pyproject_install macro.

That is only happening for files installed to /usr/bin, not to files you use during builds.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to