Accepting request 261622 from devel:languages:python

1

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 08 17:11:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in pre script
-------------------------------------------------------------------
Fri Aug 15 11:42:11 UTC 2014 - sfalken@opensuse.org

View File

@ -72,8 +72,7 @@ LC_ALL=C py.test tests
%pre
# Since /usr/bin/pybabel 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}/pybabel ]] && rm -f %{_bindir}/pybabel
exit 0
[ -h %{_bindir}/pybabel ] || rm -f %{_bindir}/pybabel
%post
update-alternatives --install %{_bindir}/pybabel pybabel %{_bindir}/pybabel-%{py_ver} 20