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
This commit is contained in:
Attila Fazekas 2015-11-05 10:09:02 +01:00
parent 73de4a42d9
commit 9127c1a56b

View File

@ -110,7 +110,11 @@ get_versions
# Do pip # Do pip
# Eradicate any and all system packages # Eradicate any and all system packages
uninstall_package python-pip
# python in f23 depends on the python-pip package
if ! { is_fedora && [[ $DISTRO == "f23" ]]; }; then
uninstall_package python-pip
fi
install_get_pip install_get_pip