mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Fix rpm builds
This commit is contained in:
parent
bc19a16fc7
commit
ef5583a209
@ -30,7 +30,7 @@
|
|||||||
%enableif %{enable_lockd_dlm} lockd-dlm
|
%enableif %{enable_lockd_dlm} lockd-dlm
|
||||||
%enableif %{enable_lockd_sanlock} lockd-sanlock
|
%enableif %{enable_lockd_sanlock} lockd-sanlock
|
||||||
%endif
|
%endif
|
||||||
%enableif %{enable_python} python-bindings
|
%enableif %{enable_python} python2-bindings
|
||||||
%enableif %{enable_python} applib
|
%enableif %{enable_python} applib
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -39,7 +39,7 @@
|
|||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
pushd %{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}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user