diff --git a/python-lesscpy.changes b/python-lesscpy.changes index b72a670..c92c57b 100644 --- a/python-lesscpy.changes +++ b/python-lesscpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 20:50:00 UTC 2014 - Led + +- fix bashism in pre script + ------------------------------------------------------------------- Mon Aug 12 11:42:11 UTC 2013 - speilicke@suse.com diff --git a/python-lesscpy.spec b/python-lesscpy.spec index ad689c4..5603db7 100644 --- a/python-lesscpy.spec +++ b/python-lesscpy.spec @@ -1,7 +1,7 @@ # # spec file for package python-lesscpy # -# 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 @@ -63,8 +63,7 @@ python lesscpy/test/__main__.py # Sigh! %pre # Since /usr/bin/lesscpy became ghosted to be used with update-alternatives, we # have to get rid of the old binary: -[[ ! -L %{_bindir}/lesscpy ]] && rm -f %{_bindir}/lesscpy -exit 0 +[ -h %{_bindir}/lesscpy ] || rm -f %{_bindir}/lesscpy %post update-alternatives \