Update to 4.7.1

Fixes CVE-2021-43818

Resolves: rhbz#2031686, rhbz#2032572
This commit is contained in:
Charalampos Stratakis 2022-01-06 15:10:44 +01:00
commit eb5a8db088
5 changed files with 9 additions and 81 deletions

View file

@ -1,8 +1,8 @@
%global modname lxml
Name: python-%{modname}
Version: 4.6.3
Release: 5%{?dist}
Version: 4.7.1
Release: 1%{?dist}
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
# The lxml project is licensed under BSD
@ -13,13 +13,6 @@ License: BSD and MIT and zlib
URL: https://github.com/lxml/lxml
Source0: %{pypi_source %{modname}}
# Adapt a test to a behavioural change in libxml2 2.9.11+
Patch1: %{url}/commit/852ed1092b.patch
# Use the non-depcrecated TextTestResult instead of _TextTestResult
# _TextTestResult was removed from Python 3.11
Patch2: %{url}/pull/333.patch
BuildRequires: gcc
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
@ -72,6 +65,11 @@ cp -a build/lib.%{python3_platform}-%{python3_version}/* src/
%{python3_sitearch}/%{modname}-*.egg-info/
%changelog
* Thu Jan 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.7.1-1
- Update to 4.7.1
- Fixes CVE-2021-43818
- Resolves: rhbz#2031686, rhbz#2032572
* Fri Nov 26 2021 Miro Hrončok <mhroncok@redhat.com> - 4.6.3-5
- Run the tests during build
- Resolves: rhbz#2026941