- Fix Makefile: Install latest cpupower-idle-* manpages

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=36
This commit is contained in:
Thomas Renninger 2014-03-28 19:06:25 +00:00 committed by Git OBS Bridge
parent 1fde58f49e
commit 0b75432b55
3 changed files with 22 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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.