Accepting request 261688 from devel:languages:python

1

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 08 20:07:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in pre script
-------------------------------------------------------------------
Tue Sep 16 13:33:46 UTC 2014 - tbechtold@suse.com

View File

@ -76,8 +76,7 @@ ln -s %{_bindir}/virtualenv-%{py_ver} %{buildroot}%{_bindir}/virtualenv
%pre
# Since /usr/bin/virtualenv became ghosted to be used with update-alternatives, we have to
# get rid of the old binary resulting from the non-update-alternativies-ified package:
[[ ! -L %{_bindir}/virtualenv ]] && rm -f %{_bindir}/virtualenv
exit 0
[ -h %{_bindir}/virtualenv ] || rm -f %{_bindir}/virtualenv
%post
update-alternatives \