tools/power turbostat: Don't make man pages executable
authorLaura Abbott <labbott@redhat.com>
Wed, 20 Dec 2017 04:02:31 +0000 (20:02 -0800)
committerLen Brown <len.brown@intel.com>
Fri, 1 Jun 2018 21:15:09 +0000 (17:15 -0400)
rpm-lint flagged these as being executable:

kernel-tools.x86_64: W: spurious-executable-perm /usr/share/man/man8/turbostat.8.gz
kernel-tools.x86_64: W: spurious-executable-perm /usr/share/man/man8/x86_energy_perf_policy.8.gz

Fix this

Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/Makefile
tools/power/x86/x86_energy_perf_policy/Makefile

index a9bc914a8fe816983a8f345e80e56ba94490f0ce..2ab25aa382638c69a98582eb09c907b1fa07d402 100644 (file)
@@ -25,4 +25,4 @@ install : turbostat
        install -d  $(DESTDIR)$(PREFIX)/bin
        install $(BUILD_OUTPUT)/turbostat $(DESTDIR)$(PREFIX)/bin/turbostat
        install -d  $(DESTDIR)$(PREFIX)/share/man/man8
-       install turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8
+       install -m 644 turbostat.8 $(DESTDIR)$(PREFIX)/share/man/man8
index 2447b1bbaacff875d92bb32a4d14f038e48328d8..f4534fb8b95158a5fb1e789739e32d754b0b1ae4 100644 (file)
@@ -24,5 +24,5 @@ install : x86_energy_perf_policy
        install -d  $(DESTDIR)$(PREFIX)/bin
        install $(BUILD_OUTPUT)/x86_energy_perf_policy $(DESTDIR)$(PREFIX)/bin/x86_energy_perf_policy
        install -d  $(DESTDIR)$(PREFIX)/share/man/man8
-       install x86_energy_perf_policy.8 $(DESTDIR)$(PREFIX)/share/man/man8
+       install -m 644 x86_energy_perf_policy.8 $(DESTDIR)$(PREFIX)/share/man/man8