import python-wheel-0.31.1-3.module+el8.5.0+12203+77770ab7

This commit is contained in:
CentOS Sources 2021-11-09 04:53:05 -05:00 committed by Stepan Oksanichenko
parent 479039eecf
commit bef38c93c4

View File

@ -26,7 +26,7 @@
Name: python-%{pypi_name}
Version: 0.31.1
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 1
Summary: Built-package format for Python
@ -78,10 +78,14 @@ BuildRequires: python3-setuptools
%if %{without bootstrap}
BuildRequires: python3-pytest
%endif # without bootstrap
# 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
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %{_description}
@ -190,7 +194,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
%postun -n python3-%{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
%endif
@ -235,6 +239,10 @@ fi
%endif
%changelog
* Thu Jul 29 2021 Tomas Orsava <torsava@redhat.com> - 1:0.31.1-3
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
- Resolves: rhbz#1933055
* Mon Jul 22 2019 Tomas Orsava <torsava@redhat.com> - 1:0.31.1-2
- Removed wheel's own implementation of crypto due to FIPS concerns
Resolves: rhbz#1731526