From b947d34fb03b82f87e837ea76bebf6ed77343880 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Wed, 4 Aug 2021 16:44:41 +0200 Subject: [PATCH] Obsolete platform-python-setuptools/pip Related: rhbz#1891487 --- python3.9.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/python3.9.spec b/python3.9.spec index bbbc08f..84f0002 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -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: