Hello community,

here is the log from the commit of package texinfo for openSUSE:Factory checked 
in at 2018-04-10 09:52:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texinfo (Old)
 and      /work/SRC/openSUSE:Factory/.texinfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "texinfo"

Tue Apr 10 09:52:13 2018 rev:52 rq:593967 version:6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/texinfo/texinfo.changes  2018-03-07 
10:28:29.195877550 +0100
+++ /work/SRC/openSUSE:Factory/.texinfo.new/texinfo.changes     2018-04-10 
09:52:19.748554956 +0200
@@ -1,0 +2,8 @@
+Fri Apr  6 09:02:47 UTC 2018 - [email protected]
+
+- install-info_exitcode.patch: install-info needs to return success
+  when it does nothing. We need 0 return value even on failure as
+  old packages in SLE-11 and SLE-12 can become uninstallable.
+  (bsc#1084997)
+
+-------------------------------------------------------------------

New:
----
  install-info_exitcode.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ texinfo.spec ++++++
--- /var/tmp/diff_new_pack.QW0EiS/_old  2018-04-10 09:52:20.908512924 +0200
+++ /var/tmp/diff_new_pack.QW0EiS/_new  2018-04-10 09:52:20.908512924 +0200
@@ -30,6 +30,7 @@
 Source2:        %{name}.keyring
 Source10:       info-dir
 Patch1:         texinfo-zlib.patch
+Patch2:         install-info_exitcode.patch
 BuildRequires:  automake
 BuildRequires:  help2man
 BuildRequires:  libbz2-devel
@@ -91,6 +92,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 LANG=en_GB.UTF-8


++++++ install-info_exitcode.patch ++++++
Author: Adam Majer <[email protected]>
Date: Fri Apr  6 10:59:49 CEST 2018
Bug: bsc#1084997
Summary: revert behaviour change since SLE11/SLE12

For package that tries to remove non-existent info page.

/sbin/install-info --quiet --delete --info-dir=/usr/share/info 
              /usr/share/info/blubber.info.gz ; echo $?
0


in SLE15,

/sbin/install-info --quiet --delete --info-dir=/usr/share/info 
              /usr/share/info/blubber.info.gz ; echo $?

install-info: No such file or directory for 
              /usr/share/info/blubber.info.gz 
1


So, we need to keep return code on failure to be 0 since suse_macros are missing
||: which results in broken packages that worked before to stop working now. 
This
is affecting upgrade process.

https://bugzilla.suse.com/show_bug.cgi?id=1084997

Index: texinfo-6.5/install-info/install-info.c
===================================================================
--- texinfo-6.5.orig/install-info/install-info.c
+++ texinfo-6.5/install-info/install-info.c
@@ -249,7 +249,7 @@ fatal (const char *fmt, ...)
   va_start (ap, fmt);
   vdiag (fmt, NULL, ap);
   va_end (ap);
-  exit (EXIT_FAILURE);
+  exit (EXIT_SUCCESS);
 }
 
 /* Return a newly-allocated string



Reply via email to