14
0

Accepting request 261637 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/261637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sqlparse?expand=0&rev=3
This commit is contained in:
2014-11-18 21:45:12 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 3 deletions

View File

@@ -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 Fri Nov 15 12:18:02 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sqlparse # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -59,8 +59,7 @@ py.test tests
%pre %pre
# Since /usr/bin/sqlformat became ghosted to be used with update-alternatives, we have # 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: # to get rid of the old binary resulting from the non-update-alternativies-ified package:
[[ ! -L %{_bindir}/sqlformat ]] && rm -f %{_bindir}/sqlformat [ -h %{_bindir}/sqlformat ] || rm -f %{_bindir}/sqlformat
exit 0
%post %post
update-alternatives --install %{_bindir}/sqlformat sqlformat %{_bindir}/sqlformat-%{py_ver} 20 update-alternatives --install %{_bindir}/sqlformat sqlformat %{_bindir}/sqlformat-%{py_ver} 20