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 a9bc914..2ab25aa 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 2447b1b..f4534fb 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