From 18b25e59c1068b4189eb89ce18d2fb926ece7971 Mon Sep 17 00:00:00 2001 From: basebuilder_pel7ppc64lebuilder0 Date: Wed, 19 Aug 2020 22:42:19 +0200 Subject: [PATCH] lvm2 change the lvm2 cluster settings Signed-off-by: basebuilder_pel7ppc64lebuilder0 --- SPECS/lvm2.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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