Fix multiarch conflict in devel subpackage

This commit is contained in:
David King 2021-05-25 10:52:53 +01:00
parent 8ce605432d
commit 9dbfe838fa

View File

@ -1,6 +1,6 @@
Name: libxml2 Name: libxml2
Version: 2.9.12 Version: 2.9.12
Release: 2%{?dist} Release: 3%{?dist}
Summary: Library providing XML and HTML support Summary: Library providing XML and HTML support
License: MIT License: MIT
@ -98,7 +98,7 @@ touch -m --reference=%{buildroot}%{_includedir}/libxml2/libxml/parser.h %{buildr
find %{buildroot} -type f -name '*.la' -print -delete find %{buildroot} -type f -name '*.la' -print -delete
rm -vf %{buildroot}{%{python2_sitearch},%{python3_sitearch}}/*.a rm -vf %{buildroot}{%{python2_sitearch},%{python3_sitearch}}/*.a
rm -vrf %{buildroot}%{_datadir}/doc/ rm -vrf %{buildroot}%{_datadir}/doc/
#(cd doc/examples ; make clean ; rm -rf .deps Makefile) (cd doc/examples ; make clean ; rm -rf .deps Makefile)
gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
%check %check
@ -146,6 +146,9 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
%{python3_sitearch}/libxml2mod.so %{python3_sitearch}/libxml2mod.so
%changelog %changelog
* Tue May 25 2021 David King <amigadave@amigadave.com> - 2.9.12-3
- Fix multiarch conflict in devel subpackage
* Wed May 19 2021 David King <amigadave@amigadave.com> - 2.9.12-2 * Wed May 19 2021 David King <amigadave@amigadave.com> - 2.9.12-2
- Fix python-lxml regression with 2.9.12 - Fix python-lxml regression with 2.9.12