- 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:
parent
1fde58f49e
commit
0b75432b55
13
add_idle_manpages_in_Makefile.patch
Normal file
13
add_idle_manpages_in_Makefile.patch
Normal 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
|
@ -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
|
Fri Mar 14 03:22:50 UTC 2014 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: cpupower
|
Name: cpupower
|
||||||
Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
|
Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
|
||||||
# Use this as version when things are in mainline kernel
|
# Use this as version when things are in mainline kernel
|
||||||
@ -32,7 +31,8 @@ Source: %{name}-%{version}.tar.bz2
|
|||||||
Source1: turbostat-%{tsversion}.tar.bz2
|
Source1: turbostat-%{tsversion}.tar.bz2
|
||||||
Source2: cpupower_export_tarball_from_git.sh
|
Source2: cpupower_export_tarball_from_git.sh
|
||||||
Patch1: cpupower_disable_by_latency.patch
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gettext-tools
|
BuildRequires: gettext-tools
|
||||||
BuildRequires: pciutils
|
BuildRequires: pciutils
|
||||||
@ -78,8 +78,9 @@ powersave module.
|
|||||||
%prep
|
%prep
|
||||||
%setup -D -b 1
|
%setup -D -b 1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
cd ../turbostat-%{tsversion}
|
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
cd ../turbostat-%{tsversion}
|
||||||
|
%patch20 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This package failed when testing with -Wl,-as-needed being default.
|
# This package failed when testing with -Wl,-as-needed being default.
|
||||||
|
Loading…
Reference in New Issue
Block a user