Blame SOURCES/krb5-1.9-debuginfo.patch

fab64b
From 502177c9256aa52ee3f7812f5127619475b3c7a5 Mon Sep 17 00:00:00 2001
fab64b
From: Robbie Harwood <rharwood@redhat.com>
fab64b
Date: Fri, 22 Apr 2016 10:02:40 -0400
fab64b
Subject: [PATCH] krb5-1.9-debuginfo.patch
5af5b2
fab64b
---
fab64b
 src/kadmin/cli/Makefile.in                 | 5 +++++
fab64b
 src/plugins/kdb/ldap/ldap_util/Makefile.in | 2 +-
fab64b
 2 files changed, 6 insertions(+), 1 deletion(-)
fab64b
fab64b
diff --git a/src/kadmin/cli/Makefile.in b/src/kadmin/cli/Makefile.in
fab64b
index adfea6e2b..d1327e400 100644
fab64b
--- a/src/kadmin/cli/Makefile.in
fab64b
+++ b/src/kadmin/cli/Makefile.in
fab64b
@@ -37,3 +37,8 @@ clean-unix::
5af5b2
 # CC_LINK is not meant for compilation and this use may break in the future.
5af5b2
 datetest: getdate.c
5af5b2
 	$(CC_LINK) $(ALL_CFLAGS) -DTEST -o datetest getdate.c
5af5b2
+
5af5b2
+%.c: %.y
5af5b2
+	$(RM) y.tab.c $@
5af5b2
+	$(YACC.y) $< 
5af5b2
+	$(CP) y.tab.c $@
fab64b
diff --git a/src/plugins/kdb/ldap/ldap_util/Makefile.in b/src/plugins/kdb/ldap/ldap_util/Makefile.in
fab64b
index 8669c2436..a22f23c02 100644
fab64b
--- a/src/plugins/kdb/ldap/ldap_util/Makefile.in
fab64b
+++ b/src/plugins/kdb/ldap/ldap_util/Makefile.in
fab64b
@@ -20,7 +20,7 @@ $(PROG): $(OBJS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIB) $(GETDATE)
5af5b2
 getdate.c: $(GETDATE)
5af5b2
 	$(RM) getdate.c y.tab.c
5af5b2
 	$(YACC) $(GETDATE)
5af5b2
-	$(MV) y.tab.c getdate.c
5af5b2
+	$(CP) y.tab.c getdate.c
5af5b2
 
fab64b
 install:
5af5b2
 	$(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(ADMIN_BINDIR)/$(PROG)