Accepting request 179594 from Base:System

- at-makefile-deps.patch: fix makefile dependencies (forwarded request 179588 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/179594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/at?expand=0&rev=52
This commit is contained in:
Stephan Kulow 2013-06-19 12:42:10 +00:00 committed by Git OBS Bridge
commit f02f4364ae
3 changed files with 27 additions and 0 deletions

18
at-makefile-deps.patch Normal file
View File

@ -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

View File

@ -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

View File

@ -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