Il giorno ven 31 ago 2018 alle ore 13:18 Miro Hrončok
<mhron...@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
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to