|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
Name: python3x-setuptools
|
|
|
|
|
# When updating, update the bundled libraries versions bellow!
|
|
|
|
|
Version: 41.6.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Easily build and distribute Python packages
|
|
|
|
|
# setuptools is MIT
|
|
|
|
|
# packaging is BSD or ASL 2.0
|
|
|
|
@ -77,8 +77,6 @@ Summary: Easily build and distribute Python 3 packages
|
|
|
|
|
Provides: python%{python3_version}dist(setuptools) = %{version}
|
|
|
|
|
%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
|
|
|
|
|
Requires: python38
|
|
|
|
|
Requires(post): python38
|
|
|
|
@ -180,7 +178,7 @@ alternatives --add-slave python3 %{_bindir}/python3.8 \
|
|
|
|
|
%postun -n python%{python3_pkgversion}-setuptools
|
|
|
|
|
# Do this only during uninstall process (not during update)
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
alternatives --keep-foreign --remove-slave python3 %{_bindir}/python3.8 \
|
|
|
|
|
alternatives --remove-slave python3 %{_bindir}/python3.8 \
|
|
|
|
|
easy_install-3
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
@ -205,10 +203,6 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Implement the alternatives system for the executables
|
|
|
|
|
- Resolves: rhbz#1807041
|
|
|
|
|