import python3x-setuptools-41.6.0-5.module+el8.5.0+12205+a865257a
This commit is contained in:
parent
a8c59b36ef
commit
a3a11e981e
@ -14,7 +14,7 @@
|
|||||||
Name: python3x-setuptools
|
Name: python3x-setuptools
|
||||||
# When updating, update the bundled libraries versions bellow!
|
# When updating, update the bundled libraries versions bellow!
|
||||||
Version: 41.6.0
|
Version: 41.6.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
# setuptools is MIT
|
# setuptools is MIT
|
||||||
# packaging is BSD or ASL 2.0
|
# packaging is BSD or ASL 2.0
|
||||||
@ -77,6 +77,8 @@ Summary: Easily build and distribute Python 3 packages
|
|||||||
Provides: python%{python3_version}dist(setuptools) = %{version}
|
Provides: python%{python3_version}dist(setuptools) = %{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# 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
|
||||||
@ -178,7 +180,7 @@ alternatives --add-slave python3 %{_bindir}/python3.8 \
|
|||||||
%postun -n python%{python3_pkgversion}-setuptools
|
%postun -n python%{python3_pkgversion}-setuptools
|
||||||
# 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}/python3.8 \
|
alternatives --keep-foreign --remove-slave python3 %{_bindir}/python3.8 \
|
||||||
easy_install-3
|
easy_install-3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -203,6 +205,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 02 2021 Tomas Orsava <torsava@redhat.com> - 41.6.0-5
|
||||||
|
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
|
||||||
|
- Resolves: rhbz#1933055
|
||||||
|
|
||||||
* Mon Mar 09 2020 Tomas Orsava <torsava@redhat.com> - 41.6.0-4
|
* Mon Mar 09 2020 Tomas Orsava <torsava@redhat.com> - 41.6.0-4
|
||||||
- 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