diff --git a/at-3.1.8-tomorrow.patch b/at-3.1.8-tomorrow.patch index 545d4aa..830da9e 100644 --- a/at-3.1.8-tomorrow.patch +++ b/at-3.1.8-tomorrow.patch @@ -1,13 +1,13 @@ -Index: at-3.1.8/parsetime.y -=================================================================== ---- at-3.1.8.orig/parsetime.y -+++ at-3.1.8/parsetime.y -@@ -375,7 +375,7 @@ parsetime(int argc, char **argv) +diff --git a/parsetime.y b/parsetime.y +index ef1ff7f..9fe3d6f 100644 +--- a/parsetime.y ++++ b/parsetime.y +@@ -379,7 +379,7 @@ parsetime(int argc, char **argv) exectime -= 3600; } } - if (time_only && (currtime > exectime)) { -+ if (currtime > exectime+1) { ++ if (time_only && (currtime > exectime+1)) { exectime += 24*3600; } return exectime; diff --git a/at.changes b/at.changes index 7bc2c07..79e22f1 100644 --- a/at.changes +++ b/at.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 1 15:33:34 UTC 2011 - vcizek@novell.com + +- fixed bug introduced with at-3.1.8-tomorrow.patch (bnc#672586) + ------------------------------------------------------------------- Mon Feb 7 16:10:28 CET 2011 - jslaby@suse.de diff --git a/at.spec b/at.spec index 6e6ee87..6f64b34 100644 --- a/at.spec +++ b/at.spec @@ -26,7 +26,7 @@ License: GPLv2+ Group: System/Daemons AutoReqProv: on Version: 3.1.8 -Release: 1088 +Release: 1089 Summary: A Job Manager Source: at_3.1.8-11.tar.gz Source1: atd.init @@ -54,6 +54,7 @@ Patch14: %{name}-%{version}-pam-session-as-root.patch Patch15: %{name}-%{version}-leak-fix.patch #PATCH_FIX-OPENSUSE add proper system users to the deny list Patch16: at-3.1.8-denylist.patch +#PATCH_FIX-OPENSUSE plan jobs with past time to tomorrow (bnc#672586) Patch17: %{name}-%{version}-tomorrow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq