Browse Source

lvm2 enable cmirror and rewrite python build statements

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
1251a0545c
  1. 8
      SPECS/lvm2.spec

8
SPECS/lvm2.spec

@ -40,6 +40,10 @@ @@ -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} @@ -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 @@ -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

Loading…
Cancel
Save