diff --git a/libxml2.spec b/libxml2.spec index 3740918..56a2e59 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -111,7 +111,8 @@ mkdir py2 py3 # multiarch crazyness on timestamp differences or Makefile/binaries for examples touch -m --reference=%{buildroot}%{_includedir}/libxml2/libxml/parser.h %{buildroot}%{_bindir}/xml2-config -find %{buildroot} -type f -name '*.a' -o -name '*.la' -print -delete +find %{buildroot} -type f -name '*.la' -print -delete +rm -vf %{buildroot}{%{python2_sitearch},%{python3_sitearch}}/*.a rm -vrf %{buildroot}%{_datadir}/doc/ #(cd doc/examples ; make clean ; rm -rf .deps Makefile) gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz