1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix rpm builds

This commit is contained in:
Marian Csontos 2016-02-18 12:36:43 +01:00
parent bc19a16fc7
commit ef5583a209

View File

@ -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