diff --git a/at-makefile-deps.patch b/at-makefile-deps.patch new file mode 100644 index 0000000..2389c45 --- /dev/null +++ b/at-makefile-deps.patch @@ -0,0 +1,18 @@ +Index: at-3.1.13/Makefile.in +=================================================================== +--- at-3.1.13.orig/Makefile.in ++++ at-3.1.13/Makefile.in +@@ -75,9 +75,12 @@ at: $(ATOBJECTS) + atd: $(RUNOBJECTS) + $(CC) $(CFLAGS) -o atd -pie $(RUNOBJECTS) $(LIBS) $(PAMLIB) $(SELINUXLIB) + +-y.tab.c y.tab.h: parsetime.y ++y.tab.c y.tab.h: stamp-yacc; @: ++stamp-yacc: parsetime.y + $(YACC) -d parsetime.y ++ touch $@ + ++lex.yy.o: y.tab.h + lex.yy.c: parsetime.l + $(LEX) -i parsetime.l + diff --git a/at.changes b/at.changes index 134905f..6f475f4 100644 --- a/at.changes +++ b/at.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 18 15:09:18 UTC 2013 - schwab@suse.de + +- at-makefile-deps.patch: fix makefile dependencies + ------------------------------------------------------------------- Tue Jun 11 13:09:18 UTC 2013 - lang@b1-systems.de diff --git a/at.spec b/at.spec index a991c89..fa7300c 100644 --- a/at.spec +++ b/at.spec @@ -57,6 +57,8 @@ Patch17: %{name}-3.1.13-tomorrow.patch #PATCH-FIX-UPSTREAM wrong mtime handling of jobdir (bnc#680113) Patch19: %{name}-3.1.8-jobdir-mtime.patch Patch20: at-parse-suse-sysconfig.patch +#PATCH-FIX-UPSTREAM fix makefile dependencies +Patch21: at-makefile-deps.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq PreReq: permissions @@ -90,6 +92,8 @@ This program allows you to run jobs at specified times. %patch17 -p1 %patch19 %patch20 -p1 +%patch21 -p1 + %build rm -fv y.tab.c y.tab.h lex.yy.c lex.yy.o y.tab.o autoreconf -fiv