import python2-2.7.18-7.module+el8.5.0+12203+77770ab7
This commit is contained in:
parent
f149c271f7
commit
85f83730ed
@ -104,7 +104,7 @@ Summary: An interpreted, interactive, object-oriented programming language
|
||||
Name: %{python}
|
||||
# Remember to also rebase python2-docs when changing this:
|
||||
Version: 2.7.18
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: Python
|
||||
Group: Development/Languages
|
||||
Requires: %{python}-libs%{?_isa} = %{version}-%{release}
|
||||
@ -172,10 +172,10 @@ BuildRequires: python2-setuptools-wheel
|
||||
BuildRequires: python2-pip-wheel
|
||||
%endif
|
||||
|
||||
# Runtime require alternatives
|
||||
Requires: /usr/sbin/alternatives
|
||||
Requires(post): /usr/sbin/alternatives
|
||||
Requires(postun): /usr/sbin/alternatives
|
||||
# Require alternatives version that implements the --keep-foreign flag
|
||||
Requires: alternatives >= 1.19.1-1
|
||||
Requires(post): alternatives >= 1.19.1-1
|
||||
Requires(postun): alternatives >= 1.19.1-1
|
||||
|
||||
# Previously, this was required for our rewheel patch to work.
|
||||
# This is technically no longer needed, but we keep it recommended
|
||||
@ -1610,7 +1610,7 @@ alternatives --install %{_bindir}/unversioned-python \
|
||||
%postun
|
||||
# Do this only during uninstall process (not during update)
|
||||
if [ $1 -eq 0 ]; then
|
||||
alternatives --remove python \
|
||||
alternatives --keep-foreign --remove python \
|
||||
%{_bindir}/python2
|
||||
fi
|
||||
|
||||
@ -1994,6 +1994,10 @@ fi
|
||||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Thu Aug 05 2021 Tomas Orsava <torsava@redhat.com> - 2.7.18-7
|
||||
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
|
||||
- Resolves: rhbz#1933055
|
||||
|
||||
* Wed May 12 2021 Charalampos Stratakis <cstratak@redhat.com> - 2.7.18-6
|
||||
- Security fix for CVE-2020-27619: eval() call on content received via HTTP in the CJK codec tests
|
||||
Resolves: rhbz#1889886
|
||||
|
Loading…
Reference in New Issue
Block a user