use explicit Python 2

This commit is contained in:
Alexander Bokovoy 2018-07-23 09:27:35 +03:00
parent 2a386021d9
commit 5127c312be

View File

@ -64,6 +64,7 @@ find . -name '*.py' | xargs sed -i 's@#! /usr/bin/python@#! %__python2@g;s@#! /u
%build %build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export PYTHON=%__python2
%configure \ %configure \
--disable-static \ --disable-static \
--enable-sdl \ --enable-sdl \