diff --git a/hplip.spec b/hplip.spec index f0f429e..06310c0 100644 --- a/hplip.spec +++ b/hplip.spec @@ -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