diff --git a/libtool.spec b/libtool.spec index 9366c44..48da088 100644 --- a/libtool.spec +++ b/libtool.spec @@ -89,8 +89,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC" --libexecdir=%{_libexecdir} \ --localstatedir=%{_localstatedir} \ --mandir=%{_mandir} \ - --infodir=%{_infodir} \ - --disable-static + --infodir=%{_infodir} ## build not smp safe: make # %%{?_smp_mflags} @@ -107,8 +106,9 @@ make check VERBOSE=yes make install DESTDIR=%{buildroot} # info's TOP dir (by default owned by info) rm -f %{buildroot}%{_infodir}/dir -# *.la files generated by libtool shouldn't be distributed -rm -f %{buildroot}%{_libdir}/libltdl.la +# *.la *.a files generated by libtool shouldn't be distributed (and the +# `./configure --disable-static' breaks testsuite) +rm -f %{buildroot}%{_libdir}/libltdl.{a,la} %post /sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || :