commit docbook-xsl-stylesheets for openSUSE:Factory
Hello community, here is the log from the commit of package docbook-xsl-stylesheets for openSUSE:Factory checked in at 2015-02-27 10:56:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/docbook-xsl-stylesheets (Old) and /work/SRC/openSUSE:Factory/.docbook-xsl-stylesheets.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "docbook-xsl-stylesheets" Changes: -------- --- /work/SRC/openSUSE:Factory/docbook-xsl-stylesheets/docbook-xsl-stylesheets.changes 2015-01-21 21:53:02.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.docbook-xsl-stylesheets.new/docbook-xsl-stylesheets.changes 2015-02-27 10:56:37.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Feb 19 12:25:28 UTC 2015 - toms@opensuse.org + +- Slightly adapted %post and %postun section to fix bsc#918565 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ docbook-xsl-stylesheets.spec ++++++ --- /var/tmp/diff_new_pack.RQWBzC/_old 2015-02-27 10:56:38.000000000 +0100 +++ /var/tmp/diff_new_pack.RQWBzC/_new 2015-02-27 10:56:38.000000000 +0100 @@ -140,9 +140,11 @@ # remove existing entries first (if existing) - needed for # zypper in, since it does not call postun # -# delete ... -%{_bindir}/edit-xml-catalog --group --catalog %{suse_catalog} --del %{name} -# ... and add it again +# in case of an update, remove old +if [ "2" = "$1" ]; then + %{_bindir}/edit-xml-catalog --group --catalog %{suse_catalog} --del %{name} +fi +# ... and (re)add it again %{_bindir}/edit-xml-catalog --group --catalog %{suse_catalog} \ --add %{_sysconfdir}/xml/%{dbstyle_catalog_entry} @@ -155,10 +157,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
participants (1)
-
root@hilbert.suse.de