diff --git a/python-pip.changes b/python-pip.changes index f04c378..c9628fe 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 20:39:00 UTC 2014 - Led + +- fix bashism in pre script + ------------------------------------------------------------------- Wed Jan 8 11:03:18 UTC 2014 - speilicke@suse.com diff --git a/python-pip.spec b/python-pip.spec index 22e8547..6e63795 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -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