Browse code

Do not remove python-pip package on Fedora-23

python on fedora 23 compiled with rewheel support,
in this case the python-pip is a required package, and cannot be
removed.

[1] http://pkgs.fedoraproject.org/cgit/python.git/tree/python.spec?id=3b6fac0339bab69ca5fbf2881568f0565ab0e252#n174

Change-Id: I499b7bec97c4360b32d156079f2b7f3923e3888a

Attila Fazekas authored on 2015/11/05 18:09:02
Showing 1 changed files
... ...
@@ -110,7 +110,11 @@ get_versions
110 110
 # Do pip
111 111
 
112 112
 # Eradicate any and all system packages
113
-uninstall_package python-pip
113
+
114
+# python in f23 depends on the python-pip package
115
+if ! { is_fedora && [[ $DISTRO == "f23" ]]; }; then
116
+    uninstall_package python-pip
117
+fi
114 118
 
115 119
 install_get_pip
116 120