From c24fb20e49a9b248332b548e3b4ebda552f9ac35 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 24 Jan 2018 08:06:39 +0100 Subject: [PATCH] fixup find execution Signed-off-by: Igor Gnatenko --- libxml2.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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