forked from pool/python-Babel
Accepting request 260355 from home:Ledest:misc
fix bashism in pre script OBS-URL: https://build.opensuse.org/request/show/260355 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=16
This commit is contained in:
parent
991122cf4f
commit
fbae82727b
@ -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
|
Fri Aug 15 11:42:11 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
@ -72,8 +72,7 @@ LC_ALL=C py.test tests
|
|||||||
%pre
|
%pre
|
||||||
# Since /usr/bin/pybabel became ghosted to be used with update-alternatives, we have to get rid
|
# 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:
|
# of the old binary resulting from the non-update-alternativies-ified package:
|
||||||
[[ ! -L %{_bindir}/pybabel ]] && rm -f %{_bindir}/pybabel
|
[ -h %{_bindir}/pybabel ] || rm -f %{_bindir}/pybabel
|
||||||
exit 0
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-alternatives --install %{_bindir}/pybabel pybabel %{_bindir}/pybabel-%{py_ver} 20
|
update-alternatives --install %{_bindir}/pybabel pybabel %{_bindir}/pybabel-%{py_ver} 20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user