Only build necessary parts for Python2 module.
This commit is contained in:
parent
8b7f3bae70
commit
c2c95df9a8
@ -264,7 +264,7 @@ pushd ../%{py2dir}
|
||||
%configure PYTHON=%{__python2}
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make
|
||||
make libhpmud.la hpmudext.la
|
||||
popd
|
||||
|
||||
%configure \
|
||||
@ -283,7 +283,8 @@ make
|
||||
%install
|
||||
# compat-libs
|
||||
pushd ../%{py2dir}
|
||||
make install DESTDIR=%{buildroot} PYTHON=%{__python2}
|
||||
make install-libLTLIBRARIES install-hpmudextLTLIBRARIES \
|
||||
DESTDIR=%{buildroot} PYTHON=%{__python2}
|
||||
rm -f %{buildroot}%{python2_sitearch}/*.la
|
||||
popd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user