Accepting request 260553 from home:Ledest:misc
fix bashism in pre script OBS-URL: https://build.opensuse.org/request/show/260553 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=40
This commit is contained in:
committed by
Git OBS Bridge
parent
64fe1f8d19
commit
c03ce0eab6
@@ -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
|
||||
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user