diff --git a/python-zope.testrunner.changes b/python-zope.testrunner.changes index c68a0aa..13cc23e 100644 --- a/python-zope.testrunner.changes +++ b/python-zope.testrunner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 20:11:00 UTC 2014 - Led + +- fix bashism in pre script + ------------------------------------------------------------------- Thu Nov 14 15:45:40 UTC 2013 - p.drouand@gmail.com diff --git a/python-zope.testrunner.spec b/python-zope.testrunner.spec index 9741fe0..d6113e0 100644 --- a/python-zope.testrunner.spec +++ b/python-zope.testrunner.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.testrunner # -# 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 @@ -67,8 +67,7 @@ ln -s %{_bindir}/zope-testrunner-%{py_ver} %{buildroot}%{_bindir}/zope-testrunn %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}/zope-testrunner ]] && rm -f %{_bindir}/zope-testrunner -exit 0 +[ -h %{_bindir}/zope-testrunner ] || rm -f %{_bindir}/zope-testrunner %post update-alternatives --install %{_bindir}/zope-testrunner zope-testrunner %{_bindir}/zope-testrunner-%{py_ver} 20