diff --git a/SPECS/lvm2.spec b/SPECS/lvm2.spec index b114b2ad..988657d9 100644 --- a/SPECS/lvm2.spec +++ b/SPECS/lvm2.spec @@ -34,13 +34,13 @@ #%%global scratch .bz1628529_4 %if 0%{?rhel} - %ifnarch i686 x86_64 ppc64le s390x + %ifnarch i686 x86_64 s390x %global enable_cluster 0 %global enable_cmirror 0 %global enable_lockd_dlm 0 %endif - %ifnarch x86_64 ppc64 aarch64 + %ifnarch x86_64 ppc64 ppc64le aarch64 %global enable_lockd_sanlock 0 %endif %endif @@ -258,7 +258,7 @@ make %{?_smp_mflags} V=1 %if %{enable_boom} ( cd ../%{boom_dir} -%py2_build +%{__python} setup.py build ) %endif @@ -273,7 +273,7 @@ make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT V=1 %if %{enable_boom} ( cd ../%{boom_dir} -%py2_install +%{__python} setup.py install --optimize 2 --root %{buildroot} # Install Grub2 integration scripts install -d -m 700 ${RPM_BUILD_ROOT}/etc/grub.d