From ef5583a209f5ec1ac0d950705f79c4d948050439 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Thu, 18 Feb 2016 12:36:43 +0100 Subject: [PATCH] Fix rpm builds --- spec/build.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/build.inc b/spec/build.inc index bc574361b..2bb285db5 100644 --- a/spec/build.inc +++ b/spec/build.inc @@ -30,7 +30,7 @@ %enableif %{enable_lockd_dlm} lockd-dlm %enableif %{enable_lockd_sanlock} lockd-sanlock %endif -%enableif %{enable_python} python-bindings +%enableif %{enable_python} python2-bindings %enableif %{enable_python} applib %build @@ -39,7 +39,7 @@ rm -rf %{py3dir} cp -a . %{py3dir} pushd %{py3dir} -%configure %{configure_flags} PYTHON=/usr/bin/python3 PYTHON_CONFIG=/usr/bin/python3-config +%configure %{configure_flags} --disable-python2-bindings --enable-python3-bindings PYTHON=/usr/bin/python3 PYTHON_CONFIG=/usr/bin/python3-config make %{?_smp_mflags} popd