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

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