import python-lxml-4.6.5-1.el9
This commit is contained in:
parent
a71429949c
commit
86848f9242
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/lxml-4.6.3.tar.gz
|
SOURCES/lxml-4.6.5.tar.gz
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
a14e8b1cb38f3ed425e2d9b22950ce64c63500ef SOURCES/lxml-4.6.3.tar.gz
|
04a3ed4d33a511b5796880461b0edb6f3b144547 SOURCES/lxml-4.6.5.tar.gz
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
From 852ed1092bd80b6b9a51db24371047ec88843031 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stefan Behnel <stefan_ml@behnel.de>
|
|
||||||
Date: Tue, 18 May 2021 22:02:02 +0200
|
|
||||||
Subject: [PATCH] Adapt a test to a behavioural change in libxml2 2.9.11+.
|
|
||||||
|
|
||||||
---
|
|
||||||
src/lxml/tests/test_etree.py | 5 ++++-
|
|
||||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/lxml/tests/test_etree.py b/src/lxml/tests/test_etree.py
|
|
||||||
index 9cf70604b..42613dcbe 100644
|
|
||||||
--- a/src/lxml/tests/test_etree.py
|
|
||||||
+++ b/src/lxml/tests/test_etree.py
|
|
||||||
@@ -3036,7 +3036,10 @@ def test_subelement_nsmap(self):
|
|
||||||
def test_html_prefix_nsmap(self):
|
|
||||||
etree = self.etree
|
|
||||||
el = etree.HTML('<hha:page-description>aa</hha:page-description>').find('.//page-description')
|
|
||||||
- self.assertEqual({'hha': None}, el.nsmap)
|
|
||||||
+ if etree.LIBXML_VERSION < (2, 9, 11):
|
|
||||||
+ self.assertEqual({'hha': None}, el.nsmap)
|
|
||||||
+ else:
|
|
||||||
+ self.assertEqual({}, el.nsmap)
|
|
||||||
|
|
||||||
def test_getchildren(self):
|
|
||||||
Element = self.etree.Element
|
|
||||||
@ -1,8 +1,8 @@
|
|||||||
%global modname lxml
|
%global modname lxml
|
||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 4.6.3
|
Version: 4.6.5
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
|
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
|
||||||
|
|
||||||
# The lxml project is licensed under BSD
|
# The lxml project is licensed under BSD
|
||||||
@ -13,9 +13,6 @@ License: BSD and MIT and zlib
|
|||||||
URL: https://github.com/lxml/lxml
|
URL: https://github.com/lxml/lxml
|
||||||
Source0: %{pypi_source %{modname}}
|
Source0: %{pypi_source %{modname}}
|
||||||
|
|
||||||
# Adapt a test to a behavioural change in libxml2 2.9.11+
|
|
||||||
Patch1: %{url}/commit/852ed1092b.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
@ -68,6 +65,11 @@ cp -a build/lib.%{python3_platform}-%{python3_version}/* src/
|
|||||||
%{python3_sitearch}/%{modname}-*.egg-info/
|
%{python3_sitearch}/%{modname}-*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.6.5-1
|
||||||
|
- Update to 4.6.5
|
||||||
|
- Fixes CVE-2021-43818
|
||||||
|
- Resolves: rhbz#2032569
|
||||||
|
|
||||||
* Fri Nov 26 2021 Miro Hrončok <mhroncok@redhat.com> - 4.6.3-5
|
* Fri Nov 26 2021 Miro Hrončok <mhroncok@redhat.com> - 4.6.3-5
|
||||||
- Run the tests during build
|
- Run the tests during build
|
||||||
- Resolves: rhbz#2026941
|
- Resolves: rhbz#2026941
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user