diff --git a/libxml2-2.9.13.tar.xz b/libxml2-2.9.14.tar.xz similarity index 30% rename from libxml2-2.9.13.tar.xz rename to libxml2-2.9.14.tar.xz index 56d733d36c17f63533cee7bf70673bcd359bfa78..b0ecdbc4942276b99f6c7d93c24af5d651b12f0e 100644 Binary files a/libxml2-2.9.13.tar.xz and b/libxml2-2.9.14.tar.xz differ diff --git a/libxml2.spec b/libxml2.spec index 390223563f18cde80dbafb0f25176ab25ded8f5e..95fae274669bb1493613908fd9a2dc7cae7b8042 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,6 +1,7 @@ +%define anolis_release 1 Name: libxml2 -Version: 2.9.13 -Release: 1%{?dist} +Version: 2.9.14 +Release: %{anolis_release}%{?dist} Summary: Library providing XML and HTML support License: MIT @@ -23,9 +24,9 @@ URI library. %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: zlib-devel%{?_isa} -Requires: xz-devel%{?_isa} +Requires: %{name} = %{version}-%{release} +Requires: zlib-devel +Requires: xz-devel %description devel The %{name}-devel package contains libraries and header files for @@ -41,7 +42,7 @@ microseconds when parsing, do not link to them for generic purpose packages. %package -n python3-%{name} Summary: Python 3 bindings for the libxml2 library BuildRequires: python3-devel -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-python3 < %{version}-%{release} Provides: %{name}-python3 = %{version}-%{release} @@ -55,6 +56,14 @@ to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DTDs, either at parse time or later once the document has been modified. +%package doc +Summary: Doc files for libxml2 +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc files for libxml2 + %prep %autosetup @@ -83,7 +92,6 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz %files %license Copyright -%doc NEWS README.md TODO %{_libdir}/libxml2.so.2* %{_mandir}/man3/libxml.3* %{_bindir}/xmllint @@ -120,7 +128,12 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz %{python3_sitearch}/__pycache__/drv_libxml2.* %{python3_sitearch}/libxml2mod.so +%files doc +%doc NEWS README.md TODO %changelog +* Tue Aug 30 2022 Chunmei Xu - 2.9.14-1 +- update to 2.9.14 + * Tue Mar 8 2022 forrest_ly - 2.9.13-1 - Init for Anolis OS 23