import python-virtualenv-15.1.0-21.module+el8.5.0+12207+5c5719bc
This commit is contained in:
parent
f47ef81ac1
commit
394108b437
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: python-virtualenv
|
Name: python-virtualenv
|
||||||
Version: 15.1.0
|
Version: 15.1.0
|
||||||
Release: 20%{?dist}
|
Release: 21%{?dist}
|
||||||
Summary: Tool to create isolated Python environments
|
Summary: Tool to create isolated Python environments
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -113,10 +113,13 @@ Requires: (python2-wheel-wheel if python2)
|
|||||||
Requires: (python38-wheel-wheel if python38)
|
Requires: (python38-wheel-wheel if python38)
|
||||||
Requires: (python39-wheel-wheel if python39)
|
Requires: (python39-wheel-wheel if python39)
|
||||||
|
|
||||||
|
# Require alternatives version that implements the --keep-foreign flag
|
||||||
|
Requires(postun): alternatives >= 1.19.1-1
|
||||||
# For alternatives
|
# For alternatives
|
||||||
Requires: python36
|
Requires: python36
|
||||||
Requires(post): python36
|
Requires(post): python36
|
||||||
Requires(postun): python36
|
Requires(postun): python36
|
||||||
|
|
||||||
%if %{with python36_module}
|
%if %{with python36_module}
|
||||||
Requires: python36-devel
|
Requires: python36-devel
|
||||||
%else
|
%else
|
||||||
@ -197,9 +200,9 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
|
|||||||
%postun -n python3-virtualenv
|
%postun -n python3-virtualenv
|
||||||
# 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} \
|
||||||
virtualenv-3
|
virtualenv-3
|
||||||
alternatives --remove-slave python3 %{_bindir}/python%{python3_version} \
|
alternatives --keep-foreign --remove-slave python3 %{_bindir}/python%{python3_version} \
|
||||||
virtualenv
|
virtualenv
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
@ -236,6 +239,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 28 2021 Tomas Orsava <torsava@redhat.com> - 15.1.0-21
|
||||||
|
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
|
||||||
|
- Resolves: rhbz#1933055
|
||||||
|
|
||||||
* Thu Mar 18 2021 Lumír Balhar <lbalhar@redhat.com> - 15.1.0-20
|
* Thu Mar 18 2021 Lumír Balhar <lbalhar@redhat.com> - 15.1.0-20
|
||||||
- Use python-version-specific wheels from Python modules
|
- Use python-version-specific wheels from Python modules
|
||||||
Resolves: rhbz#1917971
|
Resolves: rhbz#1917971
|
||||||
|
Loading…
Reference in New Issue
Block a user