On 30.8.2018 20:30, Tom Stellard wrote:
On 08/22/2018 11:58 AM, Ben Cotton wrote:
>
https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error
>
> == Summary ==
> The <code>/usr/lib/rpm/redhat/brp-mangle-shebangs</code> buildroot
> policy script will be changed to make the build fail when it sees an
> ambiguous python shebang, such as <code>#!/usr/bin/python</code> or
> <code>#!/usr/bin/env python</code>. (The script has been warning in
> these cases for 2 Fedora releases already, saying ''This will become
> an ERROR''.)
>
> ...
>
Is there going to be an RPM macro or script packagers can use to
fix the shebangs in their project or will they need to fix these
manually?
There's /usr/bin/pathfix.py you can use. See the following packages for
examples:
ansible
autojump
esptool
guitarix
libabigail
libevdev
libinput
libldb
libtalloc
libtdb
libtevent
micropython
nodejs
openscap
policycoreutils
pyhoca-cli
pyhoca-gui
python-twisted
python-zmq
python2-django1.11
pytz
samba
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok