import python-nose-1.3.7-31.module+el8.5.0+12203+77770ab7

This commit is contained in:
CentOS Sources 2021-11-09 04:48:33 -05:00 committed by Stepan Oksanichenko
parent 2e8e28cde2
commit be5dafeada

View File

@ -31,7 +31,7 @@ output capture and more.\
Name: python-%{modname} Name: python-%{modname}
Version: 1.3.7 Version: 1.3.7
Release: 30%{?dist} Release: 31%{?dist}
BuildArch: noarch BuildArch: noarch
License: LGPLv2+ and Public Domain License: LGPLv2+ and Public Domain
@ -94,7 +94,10 @@ BuildRequires: python3-devel
%endif %endif
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-coverage >= 3.4-1 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: python36
Requires(post): python36 Requires(post): python36
Requires(postun): python36 Requires(postun): python36
@ -205,10 +208,10 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
%postun -n python3-%{modname} %postun -n python3-%{modname}
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
alternatives --remove-slave python3 \ alternatives --keep-foreign --remove-slave python3 \
%{_bindir}/python%{python3_version} nosetests-3 %{_bindir}/python%{python3_version} nosetests-3
alternatives --remove-slave python3 \ alternatives --keep-foreign --remove-slave python3 \
%{_bindir}/python%{python3_version} nosetests-3-man %{_bindir}/python%{python3_version} nosetests-3-man
fi fi
%endif %endif
@ -246,6 +249,10 @@ fi
%endif # with python3 %endif # with python3
%changelog %changelog
* Fri Jul 30 2021 Tomas Orsava <torsava@redhat.com> - 1.3.7-31
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
- Resolves: rhbz#1933055
* Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 1.3.7-30 * Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 1.3.7-30
- Bumping due to problems with modular RPM upgrade path - Bumping due to problems with modular RPM upgrade path
- Resolves: rhbz#1695587 - Resolves: rhbz#1695587