Hello community, here is the log from the commit of package docbook5-xsl-stylesheets for openSUSE:Factory checked in at 2015-02-20 12:01:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/docbook5-xsl-stylesheets (Old) and /work/SRC/openSUSE:Factory/.docbook5-xsl-stylesheets.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "docbook5-xsl-stylesheets" Changes: -------- --- /work/SRC/openSUSE:Factory/docbook5-xsl-stylesheets/docbook5-xsl-stylesheets.changes 2013-07-08 12:35:54.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.docbook5-xsl-stylesheets.new/docbook5-xsl-stylesheets.changes 2015-02-20 12:01:38.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Feb 19 12:46:48 UTC 2015 - toms@opensuse.org + +- Slightly adapted %post and %postun section to fix bsc#918565 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ docbook5-xsl-stylesheets.spec ++++++ --- /var/tmp/diff_new_pack.POgbAr/_old 2015-02-20 12:01:38.000000000 +0100 +++ /var/tmp/diff_new_pack.POgbAr/_new 2015-02-20 12:01:38.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package docbook5-xsl-stylesheets # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -147,9 +147,11 @@ # remove existing entries first (if existing) - needed for # zypper in, since it does not call postun # -# delete ... +# in case of an update, remove old +if [ "2" = "$1" ]; then %{_bindir}/edit-xml-catalog --group --catalog %{suse_catalog} --del %{name} -# ... and add it again +fi +# ... and (re)add it again %{_bindir}/edit-xml-catalog --group --catalog %{suse_catalog} \ --add %{_sysconfdir}/xml/%{dbstyle_catalog_entry} @@ -162,10 +164,8 @@ # only run if package is really uninstalled ($1 = 0) and not # in case of an update # -if [ 0 = $1 ]; then - if [ -x %{_bindir}/edit-xml-catalog ] ; then +if [ "0" = "$1" ]; then %{_bindir}/edit-xml-catalog --group --catalog %{suse_catalog} --del %{name} - fi fi exit 0 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org