further cleanups
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
203f3720a7
commit
3d86e10029
@ -109,11 +109,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
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
|
||||
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
|
||||
rm -rf %{buildroot}%{_datadir}/doc/libxml2-%{version}/*
|
||||
rm -rf %{buildroot}%{_datadir}/doc/libxml2-python-%{version}/*
|
||||
find %{buildroot} -type f -name '*.a' -o -name '*.la' -print -delete
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user