import python-nose-1.3.7-31.module+el8.5.0+12203+77770ab7
This commit is contained in:
parent
2e8e28cde2
commit
be5dafeada
@ -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 <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
|
||||
- Bumping due to problems with modular RPM upgrade path
|
||||
- Resolves: rhbz#1695587
|
||||
|
Loading…
Reference in New Issue
Block a user