Update to 4.9.4 (rhbz#2255267)

This commit is contained in:
Lumir Balhar 2023-12-20 13:41:58 +01:00
commit 63254d5e35
5 changed files with 22 additions and 63 deletions

View file

@ -1,6 +1,6 @@
Name: python-lxml
Version: 4.9.3
Release: 4%{?dist}
Version: 4.9.4
Release: 1%{?dist}
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
# The lxml project is licensed under BSD-3-Clause
@ -35,9 +35,6 @@ Patch: https://github.com/lxml/lxml/commit/a03a4b3c6b906d33c5ef1a15f3d5
Patch: https://github.com/lxml/lxml/commit/34187968a67151f02db491a56a0037b55319931d.patch
Patch: https://github.com/lxml/lxml/commit/98025653e182f9203189cbde0ab2d6ebec556db8.patch
# libxml2 2.12.0 Unicode test compatibility
Patch: https://github.com/lxml/lxml/commit/2a6770566ab57d601abc7c2f49a8051b9d97b64c.patch
BuildRequires: gcc
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
@ -80,6 +77,9 @@ Python 3 version.
# Don't run html5lib tests --without extras
%{!?without_extras:rm src/lxml/html/tests/test_html5parser.py}
# Remove limit for version of Cython
sed -i "s/Cython.*/Cython/" requirements.txt
%generate_buildrequires
%pyproject_buildrequires -x source%{?with_extras:,cssselect,html5,htmlsoup}
@ -107,6 +107,9 @@ cp -a build/lib.%{python3_platform}-*/* src/
%doc README.rst
%changelog
* Wed Dec 20 2023 Lumír Balhar <lbalhar@redhat.com> - 4.9.4-1
- Update to 4.9.4 (rhbz#2255267)
* Sun Nov 26 2023 David King <amigadave@amigadave.com> - 4.9.3-4
- Fix building against libxml2 2.12.0
- Resolves: rhbz#2250838