Blame SOURCES/0001-contrib-disable-upstart-kpatch.conf-install.patch

8a3e3e
From f056d60fb309896a52882fd3fc10fb5305f5a47e Mon Sep 17 00:00:00 2001
8a3e3e
From: Joe Lawrence <joe.lawrence@redhat.com>
8a3e3e
Date: Thu, 21 Jun 2018 15:40:20 -0400
8a3e3e
Subject: [PATCH] contrib: disable upstart kpatch.conf install
8a3e3e
8a3e3e
Do not install the upstart configuration file to avoid this rhpkg
8a3e3e
build complaint:
8a3e3e
8a3e3e
  Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kpatch-0.6.1-1.el7.noarch
8a3e3e
  error: Installed (but unpackaged) file(s) found:
8a3e3e
     /etc/init/kpatch.conf
8a3e3e
      Installed (but unpackaged) file(s) found:
8a3e3e
     /etc/init/kpatch.conf
8a3e3e
8a3e3e
We'll need to think of a better way to do this upstream, but for now,
8a3e3e
just skip the unneeded file on RHEL.
8a3e3e
8a3e3e
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
8a3e3e
---
8a3e3e
 contrib/Makefile | 8 ++++----
8a3e3e
 1 file changed, 4 insertions(+), 4 deletions(-)
8a3e3e
8a3e3e
diff --git a/contrib/Makefile b/contrib/Makefile
8a3e3e
index 0b0eeeb23a56..e873f27d6eae 100644
8a3e3e
--- a/contrib/Makefile
8a3e3e
+++ b/contrib/Makefile
8a3e3e
@@ -6,12 +6,12 @@ install: all
8a3e3e
 	$(INSTALL) -d $(SYSTEMDDIR)
8a3e3e
 	$(INSTALL) -m 0644 kpatch.service $(SYSTEMDDIR)
8a3e3e
 	sed -i 's~PREFIX~$(PREFIX)~' $(SYSTEMDDIR)/kpatch.service
8a3e3e
-	$(INSTALL) -d $(UPSTARTDIR)
8a3e3e
-	$(INSTALL) -m 0644 kpatch.conf $(UPSTARTDIR)
8a3e3e
-	sed -i 's~PREFIX~$(PREFIX)~' $(UPSTARTDIR)/kpatch.conf
8a3e3e
+#	$(INSTALL) -d $(UPSTARTDIR)
8a3e3e
+#	$(INSTALL) -m 0644 kpatch.conf $(UPSTARTDIR)
8a3e3e
+#	sed -i 's~PREFIX~$(PREFIX)~' $(UPSTARTDIR)/kpatch.conf
8a3e3e
 
8a3e3e
 uninstall:
8a3e3e
 	$(RM) $(SYSTEMDDIR)/kpatch.service
8a3e3e
-	$(RM) $(UPSTARTDIR)/kpatch.conf
8a3e3e
+#	$(RM) $(UPSTARTDIR)/kpatch.conf
8a3e3e
 
8a3e3e
 clean:
8a3e3e
-- 
8a3e3e
1.8.3.1
8a3e3e