Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package os-update for openSUSE:Factory 
checked in at 2023-01-26 13:59:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/os-update (Old)
 and      /work/SRC/openSUSE:Factory/.os-update.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "os-update"

Thu Jan 26 13:59:05 2023 rev:12 rq:1061162 version:1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/os-update/os-update.changes      2023-01-14 
00:04:16.398079805 +0100
+++ /work/SRC/openSUSE:Factory/.os-update.new.32243/os-update.changes   
2023-01-26 14:04:58.094399506 +0100
@@ -1,0 +2,7 @@
+Thu Jan 19 09:21:19 UTC 2023 - Thorsten Kukuk <ku...@suse.com>
+
+- Update to Version 1.10
+  - Fix check if reboot is required
+  - Improve/fix check if systemd needs to be restarted
+
+-------------------------------------------------------------------

Old:
----
  os-update-1.9.tar.xz

New:
----
  os-update-1.10.tar.xz

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

Other differences:
------------------
++++++ os-update.spec ++++++
--- /var/tmp/diff_new_pack.2f7Oxt/_old  2023-01-26 14:04:58.546401923 +0100
+++ /var/tmp/diff_new_pack.2f7Oxt/_new  2023-01-26 14:04:58.554401966 +0100
@@ -21,7 +21,7 @@
 %endif
 
 Name:           os-update
-Version:        1.9
+Version:        1.10
 Release:        0
 Summary:        Updates the system regularly to stay current and safe
 License:        GPL-2.0-or-later

++++++ os-update-1.9.tar.xz -> os-update-1.10.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-update-1.9/NEWS new/os-update-1.10/NEWS
--- old/os-update-1.9/NEWS      2023-01-13 14:22:18.000000000 +0100
+++ new/os-update-1.10/NEWS     2023-01-19 10:18:21.000000000 +0100
@@ -1,3 +1,7 @@
+Version 1.10
+ - Fix check if reboot is required
+ - Improve/fix check if systemd needs to be restarted
+
 Version 1.9
  - Minimal support for SLE12 (os-update)
  - From address now configureable (systemd-status-mail)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-update-1.9/configure new/os-update-1.10/configure
--- old/os-update-1.9/configure 2023-01-13 14:39:21.000000000 +0100
+++ new/os-update-1.10/configure        2023-01-19 10:18:25.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for os-update 1.9.
+# Generated by GNU Autoconf 2.69 for os-update 1.10.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -576,8 +576,8 @@
 # Identity of this package.
 PACKAGE_NAME='os-update'
 PACKAGE_TARNAME='os-update'
-PACKAGE_VERSION='1.9'
-PACKAGE_STRING='os-update 1.9'
+PACKAGE_VERSION='1.10'
+PACKAGE_STRING='os-update 1.10'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1214,7 +1214,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures os-update 1.9 to adapt to many kinds of systems.
+\`configure' configures os-update 1.10 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1280,7 +1280,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of os-update 1.9:";;
+     short | recursive ) echo "Configuration of os-update 1.10:";;
    esac
   cat <<\_ACEOF
 
@@ -1370,7 +1370,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-os-update configure 1.9
+os-update configure 1.10
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1387,7 +1387,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by os-update $as_me 1.9, which was
+It was created by os-update $as_me 1.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2250,7 +2250,7 @@
 
 # Define the identity of the package.
  PACKAGE='os-update'
- VERSION='1.9'
+ VERSION='1.10'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3124,7 +3124,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by os-update $as_me 1.9, which was
+This file was extended by os-update $as_me 1.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -3177,7 +3177,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-os-update config.status 1.9
+os-update config.status 1.10
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-update-1.9/configure.ac 
new/os-update-1.10/configure.ac
--- old/os-update-1.9/configure.ac      2023-01-13 14:22:24.000000000 +0100
+++ new/os-update-1.10/configure.ac     2023-01-19 10:17:44.000000000 +0100
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(os-update, 1.9)
+AC_INIT(os-update, 1.10)
 AM_INIT_AUTOMAKE
 AC_PREFIX_DEFAULT(/usr)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/os-update-1.9/src/os-update.in 
new/os-update-1.10/src/os-update.in
--- old/os-update-1.9/src/os-update.in  2023-01-13 13:48:40.000000000 +0100
+++ new/os-update-1.10/src/os-update.in 2023-01-19 10:15:20.000000000 +0100
@@ -59,7 +59,7 @@
     if [ -x /usr/bin/needs-restarting ]; then
         needs-restarting -r
        if [ $? -eq 1 ] ; then
-           reboottrigger = "yes"
+           reboottrigger="yes"
        fi
     else
         release=$(uname -r)
@@ -133,7 +133,7 @@
 }
 
 zypper_restart_services() {
-    if [[ $(lsof -w -a -d DEL -p 1 -Ff  | grep "^fDEL"|wc -l) > 0 ]]; then
+    if [[ $(lsof -w -a -d DEL -p 1 -Ff  | grep -c "^fDEL") -gt 0 ]]; then
         log_info "Reexecing systemd"
         systemctl daemon-reexec;
     fi

Reply via email to