Hello community, here is the log from the commit of package pin for openSUSE:Factory checked in at 2018-06-19 11:54:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pin (Old) and /work/SRC/openSUSE:Factory/.pin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pin" Tue Jun 19 11:54:36 2018 rev:21 rq:615910 version:0.38 Changes: -------- --- /work/SRC/openSUSE:Factory/pin/pin.changes 2016-01-13 22:46:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pin.new/pin.changes 2018-06-19 11:54:40.542054240 +0200 @@ -1,0 +2,5 @@ +Sat Jun 9 09:36:47 UTC 2018 - [email protected] + +- fix for bug #1095723, pin broken on systems without /etc/SuSE-release file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pin.spec ++++++ --- /var/tmp/diff_new_pack.EfKId2/_old 2018-06-19 11:54:41.254027807 +0200 +++ /var/tmp/diff_new_pack.EfKId2/_new 2018-06-19 11:54:41.258027659 +0200 @@ -18,7 +18,7 @@ Name: pin Version: 0.38 -Release: 0 +Release: 1 Summary: A tool for finding package information License: GPL-2.0+ Group: Documentation/SUSE ++++++ pin ++++++ --- /var/tmp/diff_new_pack.EfKId2/_old 2018-06-19 11:54:41.354024095 +0200 +++ /var/tmp/diff_new_pack.EfKId2/_new 2018-06-19 11:54:41.354024095 +0200 @@ -85,7 +85,8 @@ CDROM="/media/cdrom/" # dont forget the / at end! CDROM_ALT="/media/dvd/" -USED_VERSION="`grep VERSION /etc/SuSE-release | cut -f3 -d " "`" +[ -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
