From 9415f64c86470c5d1c0321e0a14dc87ed1b7fe7c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 15 Jul 2018 09:12:23 +0200 Subject: [PATCH] use PYTHON envvar Usage of --with-python=python is broken. Signed-off-by: Igor Gnatenko --- libxslt.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libxslt.spec b/libxslt.spec index 1652e3f..6916130 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -63,7 +63,8 @@ chmod 644 python/tests/* %build autoreconf -vfi -%configure --disable-static --disable-silent-rules --with-python=%{__python2} +export PYTHON=%{__python2} +%configure --disable-static --disable-silent-rules --with-python %make_build %install