Hello community, here is the log from the commit of package cron checked in at Wed Nov 28 23:02:03 CET 2007. -------- --- cron/cron.changes 2007-11-27 17:04:21.000000000 +0100 +++ /mounts/work_src_done/STABLE/cron/cron.changes 2007-11-28 12:16:56.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Nov 28 12:10:12 CET 2007 - mkoenig@suse.de + +- fix calculation of time difference in run-crons script + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cron.spec ++++++ --- /var/tmp/diff_new_pack.MU3548/_old 2007-11-28 23:01:16.000000000 +0100 +++ /var/tmp/diff_new_pack.MU3548/_new 2007-11-28 23:01:16.000000000 +0100 @@ -19,7 +19,7 @@ AutoReqProv: on PreReq: permissions %fillup_prereq %insserv_prereq Version: 4.1 -Release: 133 +Release: 135 Summary: Cron Daemon Source0: vixie-%name-%version.tar.bz2 Source1: %name.init @@ -138,6 +138,8 @@ /usr/lib/cron %changelog +* Wed Nov 28 2007 - mkoenig@suse.de +- fix calculation of time difference in run-crons script * Tue Nov 27 2007 - mkoenig@suse.de - fix problem with DAILY_TIME set to 00:00 * Wed Nov 07 2007 - mkoenig@suse.de ++++++ run-crons ++++++ --- cron/run-crons 2007-11-27 17:03:30.000000000 +0100 +++ /mounts/work_src_done/STABLE/cron/run-crons 2007-11-28 12:37:56.000000000 +0100 @@ -240,7 +240,7 @@ do FILEDATE=`date -u -r $i +%s` # allow for up to one hour in the future because of summer/wintertime - if [ `expr $FILEDATE - $NOW` -gt 3600 ] + if [ $((NOW - FILEDATE)) -gt 3600 ] then rm $i fi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org