diff --git a/python-jsonpatch.changes b/python-jsonpatch.changes index 222729e..d247025 100644 --- a/python-jsonpatch.changes +++ b/python-jsonpatch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 17:31:00 UTC 2014 - Led + +- fix bashisms in pre script + ------------------------------------------------------------------- Mon Sep 15 09:40:21 UTC 2014 - tbechtold@suse.com diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec index 45da0c4..a46a635 100644 --- a/python-jsonpatch.spec +++ b/python-jsonpatch.spec @@ -54,8 +54,8 @@ for i in patch diff; do done %pre -[[ ! -L %{_bindir}/jsonpatch ]] && rm -f %{_bindir}/jsonpatch || : -[[ ! -L %{_bindir}/jsondiff ]] && rm -f %{_bindir}/jsondiff || : +[ -h %{_bindir}/jsonpatch ] || rm -f %{_bindir}/jsonpatch +[ -h %{_bindir}/jsondiff ] || rm -f %{_bindir}/jsondiff %post update-alternatives --install \