From 2948e7238b5b578dfb3e6e7e70d2e82916c6de9f Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Jun 22 2022 21:36:47 +0000 Subject: Fix FTBFS with setuptools >= 62.1 Resolves: rhbz#2097086 --- diff --git a/python-Traits.spec b/python-Traits.spec index b40182a..60ef485 100644 --- a/python-Traits.spec +++ b/python-Traits.spec @@ -9,7 +9,7 @@ Name: python-%{srcname} Version: 6.3.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Explicitly typed attributes for Python # Images have different licenses. For image license breakdown check # image_LICENSE.txt file. @@ -82,7 +82,7 @@ sed -i -e '/extra_compile_args=/d' setup.py %py3_install %check -pushd build/lib.%{python3_platform}-%{python3_version} +pushd build/lib.%{python3_platform}-* export PYTHONPATH=%{buildroot}%{python3_sitearch} xvfb-run %__python3 -s -m unittest discover -v popd @@ -93,6 +93,10 @@ popd %{python3_sitearch}/%{modname}* %changelog +* Wed Jun 22 2022 Charalampos Stratakis - 6.3.2-4 +- Fix FTBFS with setuptools >= 62.1 +Resolves: rhbz#2097086 + * Mon Jun 13 2022 Python Maint - 6.3.2-3 - Bootstrap for Python 3.11