Obsolete platform-python-setuptools/pip

Related: rhbz#1891487
This commit is contained in:
Tomas Orsava 2021-08-04 16:44:41 +02:00
parent e95f72f20c
commit b947d34fb0
1 changed files with 9 additions and 0 deletions

View File

@ -544,6 +544,15 @@ Conflicts: python-libs < 3
# (We explicitly conflict with python-libs and not python2-libs, so only the
# old Python 2 builds that still provided unversioned Python are handled.)
%if %{with rhel8_compat_shims}
# In RHEL 8 platform-python-setuptools/pip were always installed due to dnf,
# but did not provide user-facing binaries, which were in the
# python3-setuptools/pip packages. We Provide the platform-python-* names from
# the python3- packages in RHEL 9, but Obsolete them here to have a clean
# upgrade path.
Obsoletes: platform-python-setuptools < 1:0
Obsoletes: platform-python-pip < 1:0
%endif
%description -n %{pkgname}-libs
This package contains runtime libraries for use by Python: