Blame 0001-tools-power-Don-t-make-man-pages-executable.patch

Laura Abbott a8f134
From 2c54dcb09fd790cb75535f01c466725f813b8d6b 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:43:53 -0800
Laura Abbott a8f134
Subject: [PATCH 1/2] tools/power: Don't make man pages executable
Laura Abbott a8f134
Laura Abbott a8f134
rpm-lint flagged these as being executable:
Laura Abbott a8f134
Laura Abbott a8f134
kernel-tools.x86_64: W: spurious-executable-perm /usr/share/man/man8/turbostat.8.gz
Laura Abbott a8f134
kernel-tools.x86_64: W: spurious-executable-perm /usr/share/man/man8/x86_energy_perf_policy.8.gz
Laura Abbott a8f134
Laura Abbott a8f134
Fix this
Laura Abbott a8f134
Laura Abbott a8f134
Signed-off-by: Laura Abbott <labbott@redhat.com>
Laura Abbott a8f134
---
Laura Abbott a8f134
 tools/power/x86/turbostat/Makefile              | 2 +-
Laura Abbott a8f134
 tools/power/x86/x86_energy_perf_policy/Makefile | 2 +-
Laura Abbott a8f134
 2 files changed, 2 insertions(+), 2 deletions(-)
Laura Abbott a8f134
Laura Abbott a8f134
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
Laura Abbott a8f134
index a9bc914a8fe8..2ab25aa38263 100644
Laura Abbott a8f134
--- a/tools/power/x86/turbostat/Makefile
Laura Abbott a8f134
+++ b/tools/power/x86/turbostat/Makefile
Laura Abbott a8f134
@@ -25,4 +25,4 @@ install : turbostat
Laura Abbott a8f134
 	install -d  $(DESTDIR)$(PREFIX)/bin
Laura Abbott a8f134
 	install $(BUILD_OUTPUT)/turbostat $(DESTDIR)$(PREFIX)/bin/turbostat
Laura Abbott a8f134
 	install -d  $(DESTDIR)$(PREFIX)/share/man/man8
Laura Abbott a8f134
-	install turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8
Laura Abbott a8f134
+	install -m 644 turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8
Laura Abbott a8f134
diff --git a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile
Laura Abbott a8f134
index 2447b1bbaacf..f4534fb8b951 100644
Laura Abbott a8f134
--- a/tools/power/x86/x86_energy_perf_policy/Makefile
Laura Abbott a8f134
+++ b/tools/power/x86/x86_energy_perf_policy/Makefile
Laura Abbott a8f134
@@ -24,5 +24,5 @@ install : x86_energy_perf_policy
Laura Abbott a8f134
 	install -d  $(DESTDIR)$(PREFIX)/bin
Laura Abbott a8f134
 	install $(BUILD_OUTPUT)/x86_energy_perf_policy $(DESTDIR)$(PREFIX)/bin/x86_energy_perf_policy
Laura Abbott a8f134
 	install -d  $(DESTDIR)$(PREFIX)/share/man/man8
Laura Abbott a8f134
-	install x86_energy_perf_policy.8 $(DESTDIR)$(PREFIX)/share/man/man8
Laura Abbott a8f134
+	install -m 644 x86_energy_perf_policy.8 $(DESTDIR)$(PREFIX)/share/man/man8
Laura Abbott a8f134
 
Laura Abbott a8f134
-- 
Laura Abbott a8f134
2.14.3
Laura Abbott a8f134