Hello community,

here is the log from the commit of package pin for openSUSE:Factory checked in 
at 2018-09-25 15:44:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pin (Old)
 and      /work/SRC/openSUSE:Factory/.pin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pin"

Tue Sep 25 15:44:15 2018 rev:22 rq:637880 version:0.40

Changes:
--------
--- /work/SRC/openSUSE:Factory/pin/pin.changes  2018-06-19 11:54:40.542054240 
+0200
+++ /work/SRC/openSUSE:Factory/.pin.new/pin.changes     2018-09-25 
15:44:19.725168337 +0200
@@ -1,0 +2,10 @@
+Tue Sep 25 08:38:02 UTC 2018 - Ismail Dönmez <idon...@suse.com>
+
+- Fix typo SuSE-Release -> SuSE-release 
+
+-------------------------------------------------------------------
+Fri Sep 21 16:28:10 UTC 2018 - Mathias Homann <mathias.hom...@opensuse.org>
+
+- final fix for [bsc#1095723]
+
+-------------------------------------------------------------------
@@ -4 +14,2 @@
-- fix for bug #1095723, pin broken on systems without /etc/SuSE-release file
+- fix for bug #1095723, pin broken on systems without 
+  /etc/SuSE-release file [bsc#1095723]

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

Other differences:
------------------
++++++ pin.spec ++++++
--- /var/tmp/diff_new_pack.1exppn/_old  2018-09-25 15:44:21.509166431 +0200
+++ /var/tmp/diff_new_pack.1exppn/_new  2018-09-25 15:44:21.517166423 +0200
@@ -17,8 +17,8 @@
 
 
 Name:           pin
-Version:        0.38
-Release:        1
+Version:        0.40
+Release:        0
 Summary:        A tool for finding package information
 License:        GPL-2.0+
 Group:          Documentation/SUSE

++++++ pin ++++++
--- /var/tmp/diff_new_pack.1exppn/_old  2018-09-25 15:44:21.553166384 +0200
+++ /var/tmp/diff_new_pack.1exppn/_new  2018-09-25 15:44:21.557166380 +0200
@@ -73,9 +73,9 @@
 # 2007 05 06 0.38 fixed fix for bug #188068, copying ARCHIVES.gz should now 
work with any shell
 #                 clean up tempfile if pin gets killed or Ctrl-c'ed (bug 
#218263)
 # 2008-12-14 0.39 added stty sane to cleanup trap. (bug #458980, jw)
+# 2018-09-21 0.40 Leap 15 does not have /etc/SuSE-Release but /etc/os-release 
is easier to parse anyways.
 
-
-VER=0.38
+VER=0.40
 OUT_FILE=$(/bin/mktemp /tmp/.pin_packinfo_$$.XXXXXX) || { echo "pin: can not 
create temporary file" >& 2; exit 1; }
 ARC_DIR_OLD="/usr/share/pin/"
 ARC_DIR="/var/lib/pin/"  # dont forget the / at end!
@@ -85,8 +85,12 @@
 CDROM="/media/cdrom/" # dont forget the / at end!
 CDROM_ALT="/media/dvd/"
 
+[ -f /etc/os-release ] && {
+       . /etc/os-release
+       export USED_VERSION=$VERSION
+}
+
 [ -f /etc/SuSE-release ] && USED_VERSION="`grep VERSION /etc/SuSE-release | 
cut -f3 -d " "`"
-[ -z ${USED_VERSION} ] && USED_VERSION="`grep VERSION_ID /etc/os-release | cut 
-f3 -d "\""`"
 
 umask 022
 



Reply via email to