File distname.sh.patch of Package bareos

--- core/cmake/distname.sh.0	2024-06-17 12:14:44.903849174 -0400
+++ core/cmake/distname.sh	2024-06-17 12:19:21.074347090 -0400
@@ -128,6 +128,12 @@
          DISTVER=`cat /etc/SuSE-release | \
                   grep VERSION | \
                   cut -f3 -d' '`
+      elif test -f /etc/os-release
+      then
+         PLATFORM=suse
+         DISTVER=`cat /etc/os-release | \
+                  grep VERSION= | \
+                  sed -e 's/"//g;s/VERSION=//' `
       elif test -d /etc/SuSEconfig
       then
          PLATFORM=suse
openSUSE Build Service is sponsored by