lvm2 python install macro correction and arch correction
Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>master
parent
f7c4320921
commit
d4f0a7e96c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue