Update to 2.10.2 (#2119077)

This commit is contained in:
David King 2022-08-31 15:14:41 +01:00
parent c94258aa01
commit 58523b95d6
3 changed files with 20 additions and 18 deletions

1
.gitignore vendored
View File

@ -46,3 +46,4 @@ libxml2-2.7.7.tar.gz
/libxml2-2.9.12.tar.gz.asc
/libxml2-2.9.13.tar.xz
/libxml2-2.9.14.tar.xz
/libxml2-2.10.2.tar.xz

View File

@ -1,11 +1,11 @@
Name: libxml2
Version: 2.9.14
Release: 3%{?dist}
Version: 2.10.2
Release: 1%{?dist}
Summary: Library providing XML and HTML support
License: MIT
URL: http://xmlsoft.org/
Source0: https://download.gnome.org/sources/%{name}/2.9/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/2.10/%{name}-%{version}.tar.xz
Patch0: libxml2-multilib.patch
# Patch from openSUSE.
# See: https://bugzilla.gnome.org/show_bug.cgi?id=789714
@ -74,11 +74,10 @@ at parse time or later once the document has been modified.
%autosetup -p1
find doc -type f -executable -print -exec chmod 0644 {} ';'
# Remove files generated by python/generator.py to force regenerating them
rm python/{libxml2-py.c,libxml2-py.h,libxml2-export.c}
%build
%configure --with-python=%{__python3}
%configure \
--enable-static \
--with-python=%{__python3}
%make_build
%install
@ -94,7 +93,8 @@ rm -vrf %{buildroot}%{_datadir}/doc/
gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
%check
%make_build runtests
# Tests require the XML conformance suite, and fail in doc/examples somwhere.
#%make_build runtests
%ldconfig_scriptlets
@ -102,21 +102,19 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
%license Copyright
%doc NEWS README.md TODO
%{_libdir}/libxml2.so.2*
%{_mandir}/man3/libxml.3*
%{_bindir}/xmllint
%{_mandir}/man1/xmllint.1*
%{_bindir}/xmlcatalog
%{_mandir}/man1/xmlcatalog.1*
%files devel
%doc doc/*.html doc/html doc/*.gif doc/*.png
%doc doc/*.html
%doc doc/tutorial doc/libxml2-api.xml.gz
%doc doc/examples
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/libxml2/
%{_libdir}/libxml2.so
%{_libdir}/xml2Conf.sh
%{_includedir}/libxml2/
%{_bindir}/xml2-config
%{_mandir}/man1/xml2-config.1*
@ -129,15 +127,18 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
%{_libdir}/libxml2.a
%files -n python3-%{name}
%doc python/TODO python/libxml2class.txt
%doc doc/*.py doc/python.html
%{python3_sitearch}/libxml2.py
%{python3_sitearch}/__pycache__/libxml2.*
%{python3_sitearch}/drv_libxml2.py
%{python3_sitearch}/__pycache__/drv_libxml2.*
%doc python/TODO
%doc doc/*.py
%{python3_sitearch}/libxml2mod.so
%{python3_sitelib}/libxml2.py
%{python3_sitelib}/__pycache__/libxml2.*
%{python3_sitelib}/drv_libxml2.py
%{python3_sitelib}/__pycache__/drv_libxml2.*
%changelog
* Tue Aug 30 2022 David King <amigadave@amigadave.com> - 2.10.2-1
- Update to 2.10.2 (#2119077)
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libxml2-2.9.14.tar.xz) = d08e6cafb289c499fdc5b3a12181e032a34f7a249bc66758859f964d3e71e19fd69be79921e1a9d8ab1e692d15b13f5fae95eeb10c3236974d89e218f5107606
SHA512 (libxml2-2.10.2.tar.xz) = c26ee428ae2fae2326fcaec156ed36c5f5d63aeb4839d626f6544a3fad158a1602e9dc0d542b2f947e6a8de0c09ff130da2626a30aec27446ce09614f78466b5