Backport a fix for Python 3.11

This commit is contained in:
Miro Hrončok 2021-11-26 15:33:51 +01:00
commit 27eebecb4d
2 changed files with 50 additions and 0 deletions

View file

@ -16,6 +16,10 @@ 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