Blame 0002-perf-Don-t-make-sourced-script-executable.patch

Laura Abbott a8f134
From a6e7db4598211d4022c97d699142cd02740faa4e Mon Sep 17 00:00:00 2001
Laura Abbott a8f134
From: Laura Abbott <labbott@redhat.com>
Laura Abbott a8f134
Date: Tue, 19 Dec 2017 11:45:52 -0800
Laura Abbott a8f134
Subject: [PATCH 2/2] perf: Don't make sourced script executable
Laura Abbott a8f134
Laura Abbott a8f134
rpm lint flagged this:
Laura Abbott a8f134
Laura Abbott a8f134
perf.x86_64: E: executable-sourced-script /etc/bash_completion.d/perf 755
Laura Abbott a8f134
Laura Abbott a8f134
Make this not be executable
Laura Abbott a8f134
Laura Abbott a8f134
Signed-off-by: Laura Abbott <labbott@redhat.com>
Laura Abbott a8f134
---
Laura Abbott a8f134
 tools/perf/Makefile.perf | 2 +-
Laura Abbott a8f134
 1 file changed, 1 insertion(+), 1 deletion(-)
Laura Abbott a8f134
Laura Abbott a8f134
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
Laura Abbott a8f134
index 68cf1360a3f3..a072790f5fad 100644
Laura Abbott a8f134
--- a/tools/perf/Makefile.perf
Laura Abbott a8f134
+++ b/tools/perf/Makefile.perf
Laura Abbott a8f134
@@ -789,7 +789,7 @@ ifndef NO_LIBPYTHON
Laura Abbott a8f134
 endif
Laura Abbott a8f134
 	$(call QUIET_INSTALL, perf_completion-script) \
Laura Abbott a8f134
 		$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(sysconfdir_SQ)/bash_completion.d'; \
Laura Abbott a8f134
-		$(INSTALL) perf-completion.sh '$(DESTDIR_SQ)$(sysconfdir_SQ)/bash_completion.d/perf'
Laura Abbott a8f134
+		$(INSTALL) -m 644 perf-completion.sh '$(DESTDIR_SQ)$(sysconfdir_SQ)/bash_completion.d/perf'
Laura Abbott a8f134
 	$(call QUIET_INSTALL, perf-tip) \
Laura Abbott a8f134
 		$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(tip_instdir_SQ)'; \
Laura Abbott a8f134
 		$(INSTALL) Documentation/tips.txt -t '$(DESTDIR_SQ)$(tip_instdir_SQ)'
Laura Abbott a8f134
-- 
Laura Abbott a8f134
2.14.3
Laura Abbott a8f134