diff --git a/python-rdflib.changes b/python-rdflib.changes index 826dc4f..2c75948 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 20:27:00 UTC 2014 - Led + +- fix bashisms in pre script + ------------------------------------------------------------------- Thu Sep 11 12:31:20 UTC 2014 - toddrme2178@gmail.com diff --git a/python-rdflib.spec b/python-rdflib.spec index f88ff8c..56a1e5e 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -91,12 +91,11 @@ sed -i 's/\r$//' docs/_build/html/_static/jquery.js %pre # Since /usr/bin/* 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}/csv2rdf ]] && rm -f %{_bindir}/csv2rdf -[[ ! -L %{_bindir}/rdf2dot ]] && rm -f %{_bindir}/rdf2dot -[[ ! -L %{_bindir}/rdfgraphisomorphism ]] && rm -f %{_bindir}/rdfgraphisomorphism -[[ ! -L %{_bindir}/rdfpipe ]] && rm -f %{_bindir}/rdfpipe -[[ ! -L %{_bindir}/rdfs2dot ]] && rm -f %{_bindir}/rdfs2dot -exit 0 +[ -h %{_bindir}/csv2rdf ] || rm -f %{_bindir}/csv2rdf +[ -h %{_bindir}/rdf2dot ] || rm -f %{_bindir}/rdf2dot +[ -h %{_bindir}/rdfgraphisomorphism ] || rm -f %{_bindir}/rdfgraphisomorphism +[ -h %{_bindir}/rdfpipe ] || rm -f %{_bindir}/rdfpipe +[ -h %{_bindir}/rdfs2dot ] || rm -f %{_bindir}/rdfs2dot %post update-alternatives \