SHA256
1
0
forked from pool/python-pip

Accepting request 261627 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/261627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2014-11-18 21:45:08 +00:00 committed by Git OBS Bridge
commit fb4335ed4a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 08 20:39:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in pre script
-------------------------------------------------------------------
Wed Jan 8 11:03:18 UTC 2014 - speilicke@suse.com

View File

@ -67,8 +67,7 @@ python setup.py test
%pre
# Since /usr/bin/pip became ghosted to be used with update-alternatives, we have to get rid
# of the old binary resulting from the non-update-alternatives-ified package:
[[ ! -L %{_bindir}/pip ]] && rm -f %{_bindir}/pip
exit 0
[ -h %{_bindir}/pip ] || rm -f %{_bindir}/pip
%post
update-alternatives --install %{_bindir}/pip pip %{_bindir}/pip%{py_ver} 20