Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fake-hwclock for openSUSE:Factory 
checked in at 2025-08-02 00:41:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fake-hwclock (Old)
 and      /work/SRC/openSUSE:Factory/.fake-hwclock.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fake-hwclock"

Sat Aug  2 00:41:13 2025 rev:2 rq:1296852 version:0.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/fake-hwclock/fake-hwclock.changes        
2024-06-10 17:38:09.928134285 +0200
+++ /work/SRC/openSUSE:Factory/.fake-hwclock.new.1085/fake-hwclock.changes      
2025-08-02 00:41:15.777349599 +0200
@@ -1,0 +2,9 @@
+Sat Jul 26 07:09:19 UTC 2025 - Andrea Manzini <andrea.manz...@suse.com>
+
+- Update to version 0.14
+  * Update paths listed in the man page to point to /usr
+  * Read parameters from our config file directly from fake-hwclock rather
+    than from the init script.
+  * Make fake-hwclock-load.service run before systemd-fsck-root.service
+
+-------------------------------------------------------------------

Old:
----
  fake-hwclock-0.13.tar.xz

New:
----
  fake-hwclock-0.14.tar.xz
  fake-hwclock.obsinfo

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

Other differences:
------------------
++++++ fake-hwclock.spec ++++++
--- /var/tmp/diff_new_pack.Kvsbge/_old  2025-08-02 00:41:16.533380997 +0200
+++ /var/tmp/diff_new_pack.Kvsbge/_new  2025-08-02 00:41:16.537381162 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package fake-hwclock
 #
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2022 B1 Systems GmbH, Vohburg
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +18,7 @@
 
 
 Name:           fake-hwclock
-Version:        0.13
+Version:        0.14
 Release:        0
 Summary:        Save/restore system clock on machines without working RTC 
hardware
 License:        GPL-2.0-only
@@ -67,7 +68,6 @@
 %service_del_postun fake-hwclock-save.service
 %service_del_postun fake-hwclock-save.timer
 
-
 %files
 %license COPYING
 %doc debian/changelog debian/copyright

++++++ fake-hwclock-0.13.tar.xz -> fake-hwclock-0.14.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/.gitignore 
new/fake-hwclock-0.14/.gitignore
--- old/fake-hwclock-0.13/.gitignore    1970-01-01 01:00:00.000000000 +0100
+++ new/fake-hwclock-0.14/.gitignore    2024-07-14 19:34:15.000000000 +0200
@@ -0,0 +1 @@
+*~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/debian/changelog 
new/fake-hwclock-0.14/debian/changelog
--- old/fake-hwclock-0.13/debian/changelog      2024-06-04 18:35:16.112803252 
+0200
+++ new/fake-hwclock-0.14/debian/changelog      2024-07-14 19:34:15.000000000 
+0200
@@ -1,3 +1,14 @@
+fake-hwclock (0.14) unstable; urgency=medium
+
+  * Fix up remaining things installed outside of /usr.
+    Closes: #1073737
+  * Update paths listed in the man page to point to /usr.
+  * Tweak handling of parameters. Closes: #833966
+  * Make fake-hwclock-load.service run before
+    systemd-fsck-root.service. Closes: #908504
+
+ -- Steve McIntyre <93...@debian.org>  Sun, 14 Jul 2024 17:42:20 +0100
+
 fake-hwclock (0.13) unstable; urgency=medium
 
   [ Gioele Barabucci ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/debian/fake-hwclock-load.service 
new/fake-hwclock-0.14/debian/fake-hwclock-load.service
--- old/fake-hwclock-0.13/debian/fake-hwclock-load.service      2024-06-04 
18:35:16.112803252 +0200
+++ new/fake-hwclock-0.14/debian/fake-hwclock-load.service      2024-07-14 
19:34:15.000000000 +0200
@@ -2,12 +2,11 @@
 Description=Restore the current clock
 Documentation=man:fake-hwclock(8)
 DefaultDependencies=no
-Before=sysinit.target
+Before=systemd-fsck-root.service
 
 [Service]
-EnvironmentFile=-/etc/default/fake-hwclock
 Type=oneshot
-ExecStart=/usr/sbin/fake-hwclock load $FORCE
+ExecStart=/usr/sbin/fake-hwclock load
 
 [Install]
 WantedBy=sysinit.target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/debian/fake-hwclock.init 
new/fake-hwclock-0.14/debian/fake-hwclock.init
--- old/fake-hwclock-0.13/debian/fake-hwclock.init      2024-06-04 
18:35:16.112803252 +0200
+++ new/fake-hwclock-0.14/debian/fake-hwclock.init      2024-07-14 
19:34:15.000000000 +0200
@@ -17,11 +17,6 @@
 # Include core init functions if needed
 . /lib/lsb/init-functions
 
-PARAM=/etc/default/fake-hwclock
-if [ -f $PARAM ]; then
-    . "$PARAM"
-fi
-
 case "${1:-}" in
   stop|reload|restart|force-reload)
         echo "Stopping fake hwclock: saving system time."
@@ -29,7 +24,7 @@
 
   start)
         echo "Starting fake hwclock: loading system time."
-        fake-hwclock load $FORCE ;;
+        fake-hwclock load;;
 
   *)
         echo "Usage: ${0:-} {start|stop|status|restart|reload|force-reload}" 
>&2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/debian/fake-hwclock.links 
new/fake-hwclock-0.14/debian/fake-hwclock.links
--- old/fake-hwclock-0.13/debian/fake-hwclock.links     2024-06-04 
18:35:16.112803252 +0200
+++ new/fake-hwclock-0.14/debian/fake-hwclock.links     2024-07-14 
19:34:15.000000000 +0200
@@ -1 +1 @@
-/dev/null lib/systemd/system/fake-hwclock.service
+/dev/null usr/lib/systemd/system/fake-hwclock.service
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/etc/default/fake-hwclock 
new/fake-hwclock-0.14/etc/default/fake-hwclock
--- old/fake-hwclock-0.13/etc/default/fake-hwclock      2024-06-04 
18:35:16.112803252 +0200
+++ new/fake-hwclock-0.14/etc/default/fake-hwclock      2024-07-14 
19:34:15.000000000 +0200
@@ -1,2 +1,3 @@
-# Uncomment to set clock even if saved value appears to be in the past
-#FORCE=force
+# Uncomment and set FORCE to not be "false" to set the clock even if
+# the saved value appears to be in the past
+#FORCE=false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/fake-hwclock 
new/fake-hwclock-0.14/fake-hwclock
--- old/fake-hwclock-0.13/fake-hwclock  2024-06-04 18:35:16.112803252 +0200
+++ new/fake-hwclock-0.14/fake-hwclock  2024-07-14 19:34:15.000000000 +0200
@@ -6,25 +6,31 @@
 # NTP is still recommended on these machines to get to real time sync
 # once more of the system is up and running.
 #
-# Copyright 2012-2016 Steve McIntyre <93...@debian.org>
+# Copyright 2012-2024 Steve McIntyre <93...@debian.org>
 #
 # License: GPLv2, see COPYING
 
-if [ "$FILE"x = ""x ] ; then
-    FILE=/etc/fake-hwclock.data
-fi
-
 # Midnight on the day of this release, used as a sanity check when
 # saving
-HWCLOCK_EPOCH="2016-04-15 00:00:00"
-HWCLOCK_EPOCH_SEC="1460678400"
+HWCLOCK_EPOCH="2024-07-14 00:00:00"
+HWCLOCK_EPOCH_SEC="1720915200"
+
+# Set defaults
+PARAM=/etc/default/fake-hwclock
+FORCE=false
+FILE=/etc/fake-hwclock.data
+
+# Read our config file if it exists, allowing override of those
+# defaults.
+if [ -f $PARAM ]; then
+    . "$PARAM"
+fi
 
 COMMAND=$1
 if [ "$COMMAND"x = ""x ] ; then
     COMMAND="save"
 fi
 
-FORCE=false
 if [ "$2"x = "force"x ] ; then
     FORCE=true
 fi
@@ -33,7 +39,7 @@
     save)
         if [ -e $FILE ] ; then
             NOW_SEC=$(date -u '+%s')
-            if $FORCE || [ $NOW_SEC -ge $HWCLOCK_EPOCH_SEC ] ; then
+            if [ "$FORCE"x != "false"x ] || [ $NOW_SEC -ge $HWCLOCK_EPOCH_SEC 
] ; then
                 date -u '+%Y-%m-%d %H:%M:%S' > $FILE
             else
                echo "Time travel detected!"
@@ -50,7 +56,7 @@
             SAVED="$(cat $FILE)"
             SAVED_SEC=$(date -u -d "$SAVED" '+%s')
             NOW_SEC=$(date -u '+%s')
-            if $FORCE || [ $NOW_SEC -le $SAVED_SEC ] ; then
+            if [ "$FORCE"x = "false"x ] || [ $NOW_SEC -le $SAVED_SEC ] ; then
                 date -u -s "$SAVED"
             else
                 echo "Current system time: $(date -u '+%Y-%m-%d %H:%M:%S')"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fake-hwclock-0.13/fake-hwclock.8 
new/fake-hwclock-0.14/fake-hwclock.8
--- old/fake-hwclock-0.13/fake-hwclock.8        2024-06-04 18:35:16.112803252 
+0200
+++ new/fake-hwclock-0.14/fake-hwclock.8        2024-07-14 19:34:15.000000000 
+0200
@@ -1,4 +1,4 @@
-.TH FAKE-HWCLOCK 8 "1 October 2014" Debian
+.TH FAKE-HWCLOCK 8 "14 July 2024" Debian
 .SH NAME
 fake-hwclock \- Control fake hardware clock
 .SH SYNOPSIS
@@ -50,13 +50,13 @@
 \fB/etc/init.d/fake-hwclock\fR
 The init script used to run fake-hwclock on startup and shutdown
 .TP
-\fB/lib/systemd/system/fake-hwclock-load.service\fR
+\fB/usr/lib/systemd/system/fake-hwclock-load.service\fR
 systemd service used to run fake-hwclock on startup
 .TP
-\fB/lib/systemd/system/fake-hwclock-save.service\fR
+\fB/usr/lib/systemd/system/fake-hwclock-save.service\fR
 systemd service used to run fake-hwclock on shutdown
 .TP
-\fB/lib/systemd/system/fake-hwclock-save.timer\fR
+\fB/usr/lib/systemd/system/fake-hwclock-save.timer\fR
 systemd timer used to save the time hourly
 .TP
 \fB/etc/default/fake-hwclock\fR
@@ -73,5 +73,5 @@
 1 is returned for invalid commands. 0 is returned in all other cases.
 .SH BUGS
 This approach can only provide a crude approximation of what a real hardware
-clock provides. Use of NTP or another method to keep the time in sync is 
+clock provides. Use of NTP or another method to keep the time in sync is
 strongly advised.

++++++ fake-hwclock.obsinfo ++++++
name: fake-hwclock
version: 0.14
mtime: 1720978455
commit: 00a0feb706bfc11e1e0dbaa887c603b8f9875c78

Reply via email to