diff --git a/emit-a-warning-when-running-with-root-privileges.patch b/emit-a-warning-when-running-with-root-privileges.patch index 9692abc..0c61734 100644 --- a/emit-a-warning-when-running-with-root-privileges.patch +++ b/emit-a-warning-when-running-with-root-privileges.patch @@ -27,7 +27,7 @@ index 1279d4a..aeb9d26 100644 + if command == "__main__.py": + command = path.basename(sys.executable) + " -m pip" + logger.warning( -+ "WARNING: Running pip install with root privileges is " ++ "Running pip install with root privileges is " + "generally not a good idea. Try `%s install --user` instead." + % command + ) diff --git a/python-pip.spec b/python-pip.spec index f9b44c1..dfdf6a7 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -495,6 +495,7 @@ ln -sf %{buildroot}%{_bindir}/pip3 _bin/pip %changelog * Mon Jun 10 2019 Miro Hrončok - 19.1.1-2 - Fix root warning when pip is invoked via python -m pip +- Remove a redundant second WARNING prefix form the abovementioned warning * Wed May 15 2019 Miro Hrončok - 19.1.1-1 - Update to 19.1.1 (#1706995)