import python-wheel-0.35.1-4.module+el8.5.0+12204+54860423

This commit is contained in:
CentOS Sources 2021-10-05 21:55:22 -04:00 committed by Stepan Oksanichenko
parent ba89bfa848
commit ce4f1096f9

View File

@ -14,7 +14,7 @@
Name: python-%{pypi_name}
Version: 0.35.1
Release: 3%{?dist}
Release: 4%{?dist}
Epoch: 1
Summary: Built-package format for Python
@ -68,6 +68,8 @@ Summary: %{summary}
%{bundled}
Requires: python%{python3_pkgversion}-setuptools
# Require alternatives version that implements the --keep-foreign flag
Requires(postun): alternatives >= 1.19.1-1
# python39 installs the alternatives master symlink to which we attach a slave
Requires: python%{python3_pkgversion}
Requires(post): python%{python3_pkgversion}
@ -125,7 +127,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
%postun -n python%{python3_pkgversion}-%{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
@ -146,12 +148,16 @@ fi
%endif
%changelog
* Thu Aug 05 2021 Tomas Orsava <torsava@redhat.com> - 1:0.35.1-4
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
- Resolves: rhbz#1933055
* Thu Feb 11 2021 Tomas Orsava <torsava@redhat.com> - 1:0.35.1-3
- Add back Epoch 1 to the package version because the original version with the
epoch was available in CentOS Stream for a few days
- Resolves: rhbz#1877430
* Wed Oct 21 2020 Tomas Orsava <torsava@redhat.com> - 0.35.1-2
* Wed Oct 21 2020 Tomas Orsava <torsava@redhat.com> - 1:0.35.1-2
- Convert from Fedora to the python39 module in RHEL8
- Resolves: rhbz#1877430