Accepting request 260389 from home:Ledest:misc
fix bashism in pre script OBS-URL: https://build.opensuse.org/request/show/260389 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlparse?expand=0&rev=4
This commit is contained in:
parent
1cd7a272f9
commit
a59be551b3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 20:20:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashism in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 12:18:02 UTC 2013 - speilicke@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sqlparse
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -59,8 +59,7 @@ py.test tests
|
||||
%pre
|
||||
# Since /usr/bin/sqlformat 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}/sqlformat ]] && rm -f %{_bindir}/sqlformat
|
||||
exit 0
|
||||
[ -h %{_bindir}/sqlformat ] || rm -f %{_bindir}/sqlformat
|
||||
|
||||
%post
|
||||
update-alternatives --install %{_bindir}/sqlformat sqlformat %{_bindir}/sqlformat-%{py_ver} 20
|
||||
|
Loading…
Reference in New Issue
Block a user