On 22.7.2018 15:30, Sérgio Basto wrote:
On Tue, 2018-07-17 at 08:45 +0200, Guido Aulisi wrote:
2018-07-17 0:38 GMT+02:00 Miro Hrončok <mhron...@redhat.com>:
On 16.7.2018 21:54, Guido Aulisi wrote:

I fixed some of these audio packages, prefixing waf calls with
%{__python2} macro. You have to BR python2-rpm-macros or python2-
devel
to use it.


Or you can just type "python2". However, if you need %{__python2}
macro, BR

Can I type python2 without absolute path? If so it's even easier...

Legit question,  rpm -E %{__python2} results in /usr/bin/python2 not in
python2

Sometimes you need full path, sometimes just the name of the command. To run (execute) python2, you just need the command (but path also works).

Try this on the command line:

    $ python2 --version
    Python 2.7.15
    $ /usr/bin/python2 --version
    Python 2.7.15

--
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://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/message/AQG633X3N3OHGEAXEEIHJNUQ4VB43MBF/

Reply via email to