a2aacd Use %{__python2} macro to build python2 packages

Authored and Committed by plautrba a year ago
    Use %{__python2} macro to build python2 packages
    
    ${__python} and /usr/bin/python is not available anymore.
    
    Fixes:
    make[1]: /usr/bin/python: Command not found
    Please specify at least one package name on the command line.
    cc -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -D_GNU_SOURCE -DDISABLE_RPM -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8  -fPIC -DSHARED -c -o audit2why.lo audit2why.c
    audit2why.c:6:10: fatal error: Python.h: No such file or directory
     #include <python.h>
              ^~~~~~~~~~
    compilation terminated.
    
        
file modified
+2 -2