From 58ecd3e7b74a148184bb89d5e94e5b0930a11e4c Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 05 2021 18:54:32 +0000 Subject: import python-nose-1.3.7-31.module+el8.5.0+12207+5c5719bc --- diff --git a/SPECS/python-nose.spec b/SPECS/python-nose.spec index 6a559cb..21913f9 100644 --- a/SPECS/python-nose.spec +++ b/SPECS/python-nose.spec @@ -31,7 +31,7 @@ output capture and more.\ Name: python-%{modname} Version: 1.3.7 -Release: 30%{?dist} +Release: 31%{?dist} BuildArch: noarch License: LGPLv2+ and Public Domain @@ -94,7 +94,10 @@ BuildRequires: python3-devel %endif BuildRequires: python3-setuptools BuildRequires: python3-coverage >= 3.4-1 -# for alternatives + +# Require alternatives version that implements the --keep-foreign flag +Requires(postun): alternatives >= 1.19.1-1 +# For alternatives Requires: python36 Requires(post): python36 Requires(postun): python36 @@ -205,10 +208,10 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \ %postun -n python3-%{modname} if [ $1 -eq 0 ]; then - alternatives --remove-slave python3 \ + alternatives --keep-foreign --remove-slave python3 \ %{_bindir}/python%{python3_version} nosetests-3 - alternatives --remove-slave python3 \ + alternatives --keep-foreign --remove-slave python3 \ %{_bindir}/python%{python3_version} nosetests-3-man fi %endif @@ -246,6 +249,10 @@ fi %endif # with python3 %changelog +* Fri Jul 30 2021 Tomas Orsava - 1.3.7-31 +- Adjusted the postun scriptlets to enable upgrading to RHEL 9 +- Resolves: rhbz#1933055 + * Thu Apr 25 2019 Tomas Orsava - 1.3.7-30 - Bumping due to problems with modular RPM upgrade path - Resolves: rhbz#1695587