Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lsb-release for openSUSE:Factory 
checked in at 2023-11-06 21:13:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsb-release (Old)
 and      /work/SRC/openSUSE:Factory/.lsb-release.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lsb-release"

Mon Nov  6 21:13:35 2023 rev:24 rq:1123540 version:3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/lsb-release/lsb-release.changes  2023-09-06 
18:57:01.641064930 +0200
+++ /work/SRC/openSUSE:Factory/.lsb-release.new.17445/lsb-release.changes       
2023-11-06 21:13:36.969802181 +0100
@@ -1,0 +2,6 @@
+Mon Nov  6 10:37:11 UTC 2023 - Thorsten Kukuk <[email protected]>
+
+- Update to version 3.3, includes 
+  797e459ecaa482bf8e7bfe02cf5f1cea367ba9e9.patch
+
+-------------------------------------------------------------------

Old:
----
  797e459ecaa482bf8e7bfe02cf5f1cea367ba9e9.patch
  lsb-release-3.2.tar.gz

New:
----
  lsb-release-3.3.tar.gz

BETA DEBUG BEGIN:
  Old:- Update to version 3.3, includes 
  797e459ecaa482bf8e7bfe02cf5f1cea367ba9e9.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ lsb-release.spec ++++++
--- /var/tmp/diff_new_pack.XsePFx/_old  2023-11-06 21:13:37.637826771 +0100
+++ /var/tmp/diff_new_pack.XsePFx/_new  2023-11-06 21:13:37.637826771 +0100
@@ -17,14 +17,13 @@
 
 
 Name:           lsb-release
-Version:        3.2
+Version:        3.3
 Release:        0
 Summary:        Linux Standard Base Release Tools
 License:        GPL-2.0-or-later
 Group:          System/Fhs
 URL:            https://github.com/thkukuk/lsb-release_os-release
 Source:         
https://github.com/thkukuk/lsb-release_os-release/archive/refs/tags/v%{version}.tar.gz#/lsb-release-%{version}.tar.gz
-Patch1:         
https://github.com/thkukuk/lsb-release_os-release/commit/797e459ecaa482bf8e7bfe02cf5f1cea367ba9e9.patch
 # for getopt(1)
 Requires:       util-linux
 BuildArch:      noarch
@@ -33,7 +32,7 @@
 Tools from the Linux Standard Base project to determine the used distribution
 
 %prep
-%autosetup -p1 -n lsb-release_os-release-%{version}
+%autosetup -n lsb-release_os-release-%{version}
 
 %build
 %make_build

++++++ lsb-release-3.2.tar.gz -> lsb-release-3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsb-release_os-release-3.2/lsb_release 
new/lsb-release_os-release-3.3/lsb_release
--- old/lsb-release_os-release-3.2/lsb_release  2022-03-25 13:45:40.000000000 
+0100
+++ new/lsb-release_os-release-3.3/lsb_release  2023-11-06 11:30:39.792637933 
+0100
@@ -5,6 +5,7 @@
 # Copyright (C) 2000, 2002, 2004 Free Standards Group, Inc.
 # Originally by Dominique MASSONIE <[email protected]>
 # Modified for SUSE Linux products by Thorsten Kukuk
+# Modified for Red Hat distributions by Neal Gompa
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -31,7 +32,7 @@
 ###############################################################################
 
 # This script version
-SCRIPTVERSION="3.1"
+SCRIPTVERSION="3.3"
 
 # Defines the data files
 INFO_LSB_FILE="/etc/lsb-release"              # where to get LSB version
@@ -68,6 +69,7 @@
     echo "Copyright (C) 2000, 2002, 2004 Free Standards Group, Inc."
     echo "Copyright (C) 2017 SUSE Linux GmbH"
     echo "Copyright (C) 2022 SUSE Software Solutions Germany GmbH"
+    echo "Copyright (C) 2021, 2023 Neal Gompa"
     echo
     echo "This is free software; see the source for copying conditions.  There 
is NO"
     echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE."
@@ -192,15 +194,30 @@
        if [ -n "$MSG_DISTRIBUTOR" ]; then
            DISTRIB_ID=$MSG_DISTRIBUTOR
        else
-           case "$PRETTY_NAME" in
+           case "$NAME" in
+               Fedora*)
+                   DISTRIB_ID="Fedora"
+                   ;;
+               CentOS*)
+                   DISTRIB_ID="CentOS"
+                   ;;
+               "Red Hat Enterprise Linux"*)
+                   DISTRIB_ID="RedHatEnterprise"
+                   ;;
+               AlmaLinux*)
+                   DISTRIB_ID="AlmaLinux"
+                   ;;
+               Oracle*)
+                   DISTRIB_ID="OracleLinux"
+                   ;;
                openSUSE*)
                    DISTRIB_ID="openSUSE"
                    ;;
-               SUSE*)
+               SLE*|ALP*|SUSE*)
                    DISTRIB_ID="SUSE"
                    ;;
                *)
-                   DISTRIB_ID=$MSG_NA
+                   DISTRIB_ID=$(echo $NAME | tr -d '[:blank:]')
                    ;;
            esac
        fi
@@ -241,7 +258,7 @@
 DisplayVersion() {
     if [ -z "$ARG_S" ]
     then
-        echo -e "$MSG_LSBVER$LSB_VERSION"          # at least "n/a"
+        printf "$MSG_LSBVER$LSB_VERSION\n"          # at least "n/a"
     else
         MSG_RESULT="$MSG_RESULT${MSG_RESULT:+ }$LSB_VERSION"
     fi
@@ -251,7 +268,7 @@
 DisplayID() {
     if [ -z "$ARG_S" ]
     then
-        echo -e "$MSG_DISTID$DISTRIB_ID"
+        printf "$MSG_DISTID$DISTRIB_ID\n"
     else
         MSG_RESULT="$MSG_RESULT${MSG_RESULT:+ }$DISTRIB_ID"
     fi
@@ -266,7 +283,7 @@
     fi
     if [ -z "$ARG_S" ]
     then
-        echo -e "$MSG_DISTDESC$DISTRIB_DESCRIPTION"
+        printf "$MSG_DISTDESC$DISTRIB_DESCRIPTION\n"
     else
         MSG_RESULT="$MSG_RESULT${MSG_RESULT:+ }\"$DISTRIB_DESCRIPTION\""
     fi
@@ -276,7 +293,7 @@
 DisplayRelease() {
     if [ -z "$ARG_S" ]
     then
-        echo -e "$MSG_DISTREL$DISTRIB_RELEASE"
+        printf "$MSG_DISTREL$DISTRIB_RELEASE\n"
     else
         MSG_RESULT="$MSG_RESULT${MSG_RESULT:+ }$DISTRIB_RELEASE"
     fi
@@ -286,8 +303,8 @@
 DisplayCodename() {
     if [ -z "$ARG_S" ]
     then
-        echo -e "$MSG_DISTCODE$(echo "$DISTRIB_CODENAME" |                    \
-                                tr -d "[:blank:]")" # Remove blanks
+        printf "$MSG_DISTCODE$(echo "$DISTRIB_CODENAME" |                    \
+                               tr -d "[:blank:]")\n" # Remove blanks
     else
         MSG_RESULT="$MSG_RESULT${MSG_RESULT:+ }$(echo "$DISTRIB_CODENAME" |   \
                                                  tr -d "[:blank:]")"

Reply via email to