From d714fa326eeac59900168a22a1bebe2a292d1097 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 22 Jun 2022 20:01:46 +0200 Subject: [PATCH] Fix FTBFS with setuptools >= 62.1 Resolves: rhbz#2097102 --- python-lxml.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-lxml.spec b/python-lxml.spec index df03f4c..a4908fa 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -2,7 +2,7 @@ Name: python-%{modname} Version: 4.7.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: XML processing library combining libxml2/libxslt with the ElementTree API # The lxml project is licensed under BSD @@ -54,7 +54,7 @@ env WITH_CYTHON=true %py3_build %check # The tests assume inplace build, so we copy the built library to source-dir. # If not done that, Python can either import the tests or the extension modules, but not both. -cp -a build/lib.%{python3_platform}-%{python3_version}/* src/ +cp -a build/lib.%{python3_platform}-*/* src/ # The options are: verbose, unit, functional %{python3} test.py -vuf @@ -65,6 +65,10 @@ cp -a build/lib.%{python3_platform}-%{python3_version}/* src/ %{python3_sitearch}/%{modname}-*.egg-info/ %changelog +* Wed Jun 22 2022 Charalampos Stratakis - 4.7.1-4 +- Fix FTBFS with setuptools >= 62.1 +- Resolves: rhbz#2097102 + * Mon Jun 13 2022 Python Maint - 4.7.1-3 - Rebuilt for Python 3.11