Subject: Prevent removing of the system packages installed under /usr/lib
when pip install -U is executed. Resolves: rhbz#1550368
This commit is contained in:
parent
ae152c5ccf
commit
50d9d64d96
2 changed files with 100 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
Name: python-%{srcname}
|
||||
# When updating, update the bundled libraries versions bellow!
|
||||
Version: 18.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: A tool for installing and managing Python packages
|
||||
Group: Development/Libraries
|
||||
|
||||
|
|
@ -88,6 +88,11 @@ Patch1: emit-a-warning-when-running-with-root-privileges.patch
|
|||
# Add path to the doc themes to conf.py
|
||||
Patch2: html_theme_path.patch
|
||||
|
||||
# Prevent removing of the system packages installed under /usr/lib
|
||||
# when pip install -U is executed.
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1550368#c24
|
||||
Patch3: remove-existing-dist-only-if-path-conflicts.patch
|
||||
|
||||
# Downstream only patch
|
||||
# Users might have local installations of pip from using
|
||||
# `pip install --user --upgrade pip` on older versions.
|
||||
|
|
@ -250,6 +255,7 @@ popd
|
|||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -447,6 +453,11 @@ export PYTHONPATH=src
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Sep 18 2018 Victor Stinner <vstinner@redhat.com> - 18.0-4
|
||||
- Prevent removing of the system packages installed under /usr/lib
|
||||
when pip install -U is executed. Original patch by Michal Cyprian.
|
||||
Resolves: rhbz#1550368.
|
||||
|
||||
* Wed Aug 08 2018 Miro Hrončok <mhroncok@redhat.com> - 18.0-3
|
||||
- Create python-pip-wheel package with the wheel
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue