Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package smartmontools for openSUSE:Factory 
checked in at 2023-02-05 19:20:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/smartmontools (Old)
 and      /work/SRC/openSUSE:Factory/.smartmontools.new.4462 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "smartmontools"

Sun Feb  5 19:20:13 2023 rev:88 rq:1063150 version:7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes      
2022-04-23 00:25:27.563756111 +0200
+++ /work/SRC/openSUSE:Factory/.smartmontools.new.4462/smartmontools.changes    
2023-02-05 19:20:17.319586750 +0100
@@ -1,0 +2,6 @@
+Thu Feb  2 14:31:01 UTC 2023 - Hans-Peter Jansen <h...@urpla.net>
+
+- Catch another invalid state in %post: DRIVEDB_H_RELEASE_SAVED
+  might end up empty
+
+-------------------------------------------------------------------
@@ -83 +88,0 @@
-

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

Other differences:
------------------
++++++ smartmontools.spec ++++++
--- /var/tmp/diff_new_pack.enshCv/_old  2023-02-05 19:20:17.795589501 +0100
+++ /var/tmp/diff_new_pack.enshCv/_new  2023-02-05 19:20:17.799589524 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smartmontools
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -187,7 +187,7 @@
     DRIVEDB_H_RELEASE_RPM="$(sed -n 's/^.*$Id: drivedb.h \([0-9][0-9]*\) 
.*$/\1/p' <%{_datadir}/smartmontools/drivedb.h)"
     DRIVEDB_H_RELEASE_SAVED="$(sed -n 's/^.*$Id: drivedb.h \([0-9][0-9]*\) 
.*$/\1/p' <%{_datadir}/smartmontools/drivedb.h.rpmsave)"
     # Note: The SAVED release number may be broken. The test syntax must cover 
it and replace old file.
-    if test "$DRIVEDB_H_RELEASE_RPM" -lt "$DRIVEDB_H_RELEASE_SAVED" ; then
+    if test "$DRIVEDB_H_RELEASE_RPM" -lt "${DRIVEDB_H_RELEASE_SAVED:-0}" ; then
        # If it is an update to the new branch, always replace the database.
        # Extract drivedb.h branch for the new version to default_branch.
        eval $(grep "^default_branch=\"[^\"]*\"$" 
/usr/sbin/update-smart-drivedb)

Reply via email to