diff --git a/SPECS/lvm2.spec b/SPECS/lvm2.spec index 8cd3401c..0e39dee7 100644 --- a/SPECS/lvm2.spec +++ b/SPECS/lvm2.spec @@ -40,6 +40,10 @@ %global enable_lockd_dlm 0 %endif + %ifarch ppc64 + %global enable_cmirror 1 + %endif + %ifnarch x86_64 ppc64 aarch64 %global enable_lockd_sanlock 0 %endif @@ -238,7 +242,7 @@ make %{?_smp_mflags} %if %{enable_boom} ( cd ../%{boom_dir} -%py2_build +%{__python} setup.py build ) %endif @@ -253,7 +257,7 @@ make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT %if %{enable_boom} ( cd ../%{boom_dir} -%py2_install +%{__python} setup.py install --root %{buildroot} --optimize 2 # Install Grub2 integration scripts install -d -m 700 ${RPM_BUILD_ROOT}/etc/grub.d