From d4f0a7e96cd1ec5d66d911daa397d6c4cb4a0937 Mon Sep 17 00:00:00 2001 From: basebuilder_pel7ppc64bebuilder0 Date: Sun, 3 Jun 2018 13:16:40 +0200 Subject: [PATCH] lvm2 python install macro correction and arch correction Signed-off-by: basebuilder_pel7ppc64bebuilder0 --- SPECS/lvm2.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS/lvm2.spec b/SPECS/lvm2.spec index 7623a4f6..5346fb75 100644 --- a/SPECS/lvm2.spec +++ b/SPECS/lvm2.spec @@ -31,7 +31,7 @@ %global boom_dir boom-%{boom_version} %if 0%{?rhel} - %ifnarch i686 x86_64 ppc64 ppc64le s390x + %ifnarch i686 x86_64 ppc64le s390x %global enable_cluster 0 %global enable_cmirror 0 %global enable_lockd_dlm 0 @@ -232,7 +232,7 @@ make %{?_smp_mflags} %if %{enable_boom} ( cd ../%{boom_dir} -%py2_build +%{__python} setup.py build ) %endif @@ -247,7 +247,7 @@ make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT %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