lvm2 enable cmirror and rewrite python build statements

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 2018-12-16 15:12:42 +01:00
parent f2eb25e2fb
commit 1251a0545c
1 changed files with 6 additions and 2 deletions

View File

@ -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