diff --git a/python-setuptools.spec b/python-setuptools.spec index 01fe960..cf56988 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -28,7 +28,7 @@ Name: python-setuptools # When updating, update the bundled libraries versions bellow! Version: 53.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Easily build and distribute Python packages # setuptools is MIT # appdirs is MIT @@ -116,6 +116,11 @@ Summary: The setuptools wheel Provides: %{name}-wheel = %{version}-%{release} Obsoletes: %{name}-wheel < %{version}-%{release} +# Older versions of python3-libs expect Python wheels at the old unversioned +# location, so we conflict with the old Python versions that wouldn't work with +# the new wheel location. +Conflicts: python3-libs < 3.9.9-2 + %description -n %{python_wheel_pkg_prefix}-%{srcname}-wheel A Python wheel of setuptools to use with venv. %endif @@ -207,6 +212,10 @@ PYTHONPATH=$(pwd) %pytest --ignore=pavement.py %changelog +* Wed Nov 24 2021 Tomas Orsava - 53.0.0-8 +- Conflict with old Python versions that use the old unversioned wheel location +- Resolves: rhbz#1982668 + * Wed Sep 22 2021 Tomas Orsava - 53.0.0-7 - Make the python-setuptools-wheel subpackage versioned (python3-setuptools-wheel), and move its contents to a versioned directory /usr/share/python3-wheels