diff --git a/add_idle_manpages_in_Makefile.patch b/add_idle_manpages_in_Makefile.patch new file mode 100644 index 0000000..307e6e2 --- /dev/null +++ b/add_idle_manpages_in_Makefile.patch @@ -0,0 +1,13 @@ +Index: cpupower-3.13/Makefile +=================================================================== +--- cpupower-3.13.orig/Makefile ++++ cpupower-3.13/Makefile +@@ -274,6 +274,8 @@ install-man: + $(INSTALL_DATA) -D man/cpupower.1 $(DESTDIR)${mandir}/man1/cpupower.1 + $(INSTALL_DATA) -D man/cpupower-frequency-set.1 $(DESTDIR)${mandir}/man1/cpupower-frequency-set.1 + $(INSTALL_DATA) -D man/cpupower-frequency-info.1 $(DESTDIR)${mandir}/man1/cpupower-frequency-info.1 ++ $(INSTALL_DATA) -D man/cpupower-idle-set.1 $(DESTDIR)${mandir}/man1/cpupower-idle-set.1 ++ $(INSTALL_DATA) -D man/cpupower-idle-info.1 $(DESTDIR)${mandir}/man1/cpupower-idle-info.1 + $(INSTALL_DATA) -D man/cpupower-set.1 $(DESTDIR)${mandir}/man1/cpupower-set.1 + $(INSTALL_DATA) -D man/cpupower-info.1 $(DESTDIR)${mandir}/man1/cpupower-info.1 + $(INSTALL_DATA) -D man/cpupower-monitor.1 $(DESTDIR)${mandir}/man1/cpupower-monitor.1 diff --git a/cpupower.changes b/cpupower.changes index 821c01a..7494b72 100644 --- a/cpupower.changes +++ b/cpupower.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 28 19:05:46 UTC 2014 - trenn@suse.de + +- Fix Makefile: Install latest cpupower-idle-* manpages + ------------------------------------------------------------------- Fri Mar 14 03:22:50 UTC 2014 - trenn@suse.de diff --git a/cpupower.spec b/cpupower.spec index 2b3e3c5..02f3fc6 100644 --- a/cpupower.spec +++ b/cpupower.spec @@ -17,7 +17,6 @@ # - Name: cpupower Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html # Use this as version when things are in mainline kernel @@ -32,7 +31,8 @@ Source: %{name}-%{version}.tar.bz2 Source1: turbostat-%{tsversion}.tar.bz2 Source2: cpupower_export_tarball_from_git.sh Patch1: cpupower_disable_by_latency.patch -Patch2: turbostat_fix_man_perm.patch +Patch2: add_idle_manpages_in_Makefile.patch +Patch20: turbostat_fix_man_perm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gettext-tools BuildRequires: pciutils @@ -78,8 +78,9 @@ powersave module. %prep %setup -D -b 1 %patch1 -p1 -cd ../turbostat-%{tsversion} %patch2 -p1 +cd ../turbostat-%{tsversion} +%patch20 -p1 %build # This package failed when testing with -Wl,-as-needed being default.