diff --git a/SPECS/python3x-setuptools.spec b/SPECS/python3x-setuptools.spec index 5a19b52..fd3e811 100644 --- a/SPECS/python3x-setuptools.spec +++ b/SPECS/python3x-setuptools.spec @@ -14,7 +14,7 @@ Name: python3x-setuptools # When updating, update the bundled libraries versions bellow! Version: 50.3.2 -Release: 4%{?dist} +Release: 3%{?dist} Summary: Easily build and distribute Python packages # setuptools is MIT # appdirs is MIT @@ -77,8 +77,6 @@ Summary: Easily build and distribute Python 3 packages Provides: python%{python3_version}dist(setuptools) = %{version} %endif -# Require alternatives version that implements the --keep-foreign flag -Requires(postun): alternatives >= 1.19.1-1 # python39 installs the alternatives master symlink to which we attach a slave Requires: python%{python3_pkgversion} Requires(post): python%{python3_pkgversion} @@ -180,7 +178,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \ %postun -n python%{python3_pkgversion}-setuptools # Do this only during uninstall process (not during update) if [ $1 -eq 0 ]; then - alternatives --keep-foreign --remove-slave python3 %{_bindir}/python%{python3_version} \ + alternatives --remove-slave python3 %{_bindir}/python%{python3_version} \ easy_install-3 fi @@ -207,13 +205,9 @@ fi %changelog -* Tue Dec 12 2023 MSVSphere Packaging Team - 50.3.2-4 +* Tue Dec 12 2023 MSVSphere Packaging Team - 50.3.2-3 - Rebuilt for MSVSphere 8.8 -* Thu Aug 05 2021 Tomas Orsava - 50.3.2-4 -- Adjusted the postun scriptlets to enable upgrading to RHEL 9 -- Resolves: rhbz#1933055 - * Tue Jan 05 2021 Tomas Orsava - 50.3.2-3 - Convert from Fedora to the python39 module in RHEL8 - Resolves: rhbz#1877430