use PYTHON envvar

Usage of --with-python=python is broken.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-15 09:12:23 +02:00
parent ad413b7d14
commit 9415f64c86
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -63,7 +63,8 @@ chmod 644 python/tests/*
%build %build
autoreconf -vfi autoreconf -vfi
%configure --disable-static --disable-silent-rules --with-python=%{__python2} export PYTHON=%{__python2}
%configure --disable-static --disable-silent-rules --with-python
%make_build %make_build
%install %install