From d6fcf17a6e6686f638b77b1a485469a991ddbb57 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mar 21 2017 11:09:02 +0000 Subject: Fix typo in the sudo pip warning --- diff --git a/emit-a-warning-when-running-with-root-privileges.patch b/emit-a-warning-when-running-with-root-privileges.patch index 6cfe250..644fce9 100644 --- a/emit-a-warning-when-running-with-root-privileges.patch +++ b/emit-a-warning-when-running-with-root-privileges.patch @@ -31,7 +31,7 @@ index 227c526..277a3d1 100644 + # Check whether we have root privileges and aren't in venv/virtualenv + if os.getuid() == 0 and not is_venv(): + logger.warning( -+ "WARNING: Running pip install with root privileges is" ++ "WARNING: Running pip install with root privileges is " + "generally not a good idea. Try `%s install --user` instead." + % path.basename(sys.argv[0]) + ) diff --git a/python-pip.spec b/python-pip.spec index 379b005..e2ca90c 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -17,7 +17,7 @@ Name: python-%{srcname} Version: 9.0.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A tool for installing and managing Python packages Group: Development/Libraries @@ -244,6 +244,9 @@ py.test-%{python3_version} -m 'not network' %endif # with_python3 %changelog +* Tue Mar 21 2017 Tomas Orsava - 9.0.1-9 +- Fix typo in the sudo pip warning + * Fri Mar 03 2017 Tomas Orsava - 9.0.1-8 - Patch 1 update: No sudo pip warning in venv or virtualenv