Accepting request 260881 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/260881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=21
This commit is contained in:
2014-11-15 10:40:54 +00:00
committed by Git OBS Bridge
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 23:03:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in pre script
-------------------------------------------------------------------
Thu May 8 11:37:39 UTC 2014 - toddrme2178@gmail.com

View File

@@ -66,8 +66,7 @@ ln -s %{_bindir}/coverage-%{py_ver} %{buildroot}/%{_bindir}/coverage
%pre
# Since /usr/bin/coverage 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}/coverage ]] && rm -f %{_bindir}/coverage
exit 0
[ -h %{_bindir}/coverage ] || rm -f %{_bindir}/coverage
%post
update-alternatives \