Il giorno ven 31 ago 2018 alle ore 13:18 Miro HronĨok
<mhroncok(a)redhat.com> ha scritto:
On 31.8.2018 08:22, Guido Aulisi wrote:
> Can we explicitly call python2?
> Instead of calling
> ./waf ...
> which contains the unversioned shebang, we call
> python2 waf ... ?
You can. This has nothing to do with this change. What am I not getting?
waf script contains unversioned python shebangs, but it's usually
provided by upstream developer,so instead of patching it I prefer
calling python2 explicitly.
I don't know if the new f30 build system checks this too, I remember
some warnings about waf containing wrong shebangs in the past.
I usually fix this problem calling waf this way:
%{_python2} waf ...
other ways are calling
python2 waf
or patching waf
Ciao
Guido