import python-wheel-0.33.6-6.module+el8.5.0+12205+a865257a
This commit is contained in:
parent
abf06a75d0
commit
3453f7d6bb
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.33.6
|
Version: 0.33.6
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Built-package format for Python
|
Summary: Built-package format for Python
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -48,6 +48,8 @@ BuildRequires: python%{python3_pkgversion}-pytest
|
|||||||
%endif
|
%endif
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||||
|
|
||||||
|
# Require alternatives version that implements the --keep-foreign flag
|
||||||
|
Requires(postun): alternatives >= 1.19.1-1
|
||||||
# python38 installs the alternatives master symlink to which we attach a slave
|
# python38 installs the alternatives master symlink to which we attach a slave
|
||||||
Requires: python38
|
Requires: python38
|
||||||
Requires(post): python38
|
Requires(post): python38
|
||||||
@ -110,7 +112,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
|
|||||||
%postun -n python%{python3_pkgversion}-%{pypi_name}
|
%postun -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
# Do this only during uninstall process (not during update)
|
# Do this only during uninstall process (not during update)
|
||||||
if [ $1 -eq 0 ]; then
|
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
|
%{pypi_name}-3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -131,6 +133,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 02 2021 Tomas Orsava <torsava@redhat.com> - 0.33.6-6
|
||||||
|
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
|
||||||
|
- Resolves: rhbz#1933055
|
||||||
|
|
||||||
* Mon Mar 09 2020 Tomas Orsava <torsava@redhat.com> - 0.33.6-5
|
* Mon Mar 09 2020 Tomas Orsava <torsava@redhat.com> - 0.33.6-5
|
||||||
- Implement the alternatives system for the executables
|
- Implement the alternatives system for the executables
|
||||||
- Resolves: rhbz#1807041
|
- Resolves: rhbz#1807041
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user