Blame SOURCES/0001-buildsys-don-t-set-filecaps-nor-setuid-manually-and-.patch

7594b7
From 9d2800441a73a1dfb84f1c97a1e2755b9cac163c Mon Sep 17 00:00:00 2001
7594b7
From: Michal Sekletar <msekleta@redhat.com>
7594b7
Date: Fri, 26 Jul 2019 01:56:10 +0200
7594b7
Subject: [PATCH] buildsys: don't set filecaps nor setuid manually and let
7594b7
 rpmbuild handle it
7594b7
7594b7
---
7594b7
 Makefile.am | 4 ----
7594b7
 1 file changed, 4 deletions(-)
7594b7
7594b7
diff --git a/Makefile.am b/Makefile.am
7594b7
index c0709ca..daebb84 100644
7594b7
--- a/Makefile.am
7594b7
+++ b/Makefile.am
7594b7
@@ -40,10 +40,6 @@ $(PATHFILES): Makefile
7594b7
 dist_man_MANS = mtr.8 mtr-packet.8
7594b7
 PATHFILES += man/mtr.8 man/mtr-packet.8
7594b7
 
7594b7
-install-exec-hook: 
7594b7
-	`setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr-packet` \
7594b7
-	|| chmod u+s $(DESTDIR)$(sbindir)/mtr-packet
7594b7
-
7594b7
 mtr_SOURCES = ui/mtr.c ui/mtr.h \
7594b7
               ui/net.c ui/net.h \
7594b7
               ui/cmdpipe.c ui/cmdpipe.h \
7594b7
-- 
7594b7
2.21.0
7594b7