From ce4f1096f9cb82d0e4305d4e0a8304ff5e18acf1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 5 Oct 2021 21:55:22 -0400 Subject: [PATCH] import python-wheel-0.35.1-4.module+el8.5.0+12204+54860423 --- SPECS/python-wheel.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/SPECS/python-wheel.spec b/SPECS/python-wheel.spec index 667c18b..8d884ca 100644 --- a/SPECS/python-wheel.spec +++ b/SPECS/python-wheel.spec @@ -14,7 +14,7 @@ Name: python-%{pypi_name} Version: 0.35.1 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 Summary: Built-package format for Python @@ -68,6 +68,8 @@ Summary: %{summary} %{bundled} Requires: python%{python3_pkgversion}-setuptools +# 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} @@ -125,7 +127,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \ %postun -n python%{python3_pkgversion}-%{pypi_name} # Do this only during uninstall process (not during update) if [ $1 -eq 0 ]; then - alternatives --remove-slave python3 %{_bindir}/python%{python3_version} \ + alternatives --keep-foreign --remove-slave python3 %{_bindir}/python%{python3_version} \ %{pypi_name}-3 fi @@ -146,12 +148,16 @@ fi %endif %changelog +* Thu Aug 05 2021 Tomas Orsava - 1:0.35.1-4 +- Adjusted the postun scriptlets to enable upgrading to RHEL 9 +- Resolves: rhbz#1933055 + * Thu Feb 11 2021 Tomas Orsava - 1:0.35.1-3 - Add back Epoch 1 to the package version because the original version with the epoch was available in CentOS Stream for a few days - Resolves: rhbz#1877430 -* Wed Oct 21 2020 Tomas Orsava - 0.35.1-2 +* Wed Oct 21 2020 Tomas Orsava - 1:0.35.1-2 - Convert from Fedora to the python39 module in RHEL8 - Resolves: rhbz#1877430