From a0beb889c2ea36bedd8bce69c7079335e27f9ab7b181b6048d589774c98f248a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sun, 18 Sep 2011 18:46:15 +0000 Subject: [PATCH] Accepting request 83135 from home:jengelh:bl-c - Remove redundant tags/sections from specfile - Use %_smp_mflags for parallel build OBS-URL: https://build.opensuse.org/request/show/83135 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=4 --- cpupower.changes | 6 ++++++ cpupower.spec | 31 +------------------------------ 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/cpupower.changes b/cpupower.changes index 989824a..7fdc48a 100644 --- a/cpupower.changes +++ b/cpupower.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 17 23:56:39 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Thu Aug 25 15:44:12 UTC 2011 - trenn@suse.de diff --git a/cpupower.spec b/cpupower.spec index 04c4c14..7137fe5 100644 --- a/cpupower.spec +++ b/cpupower.spec @@ -16,9 +16,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: cpupower Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html # Use this as version when things are in mainline kernel @@ -40,27 +37,14 @@ This tool is to make access to the Linux kernel's processor power subsystems like CPU frequency switching (cpufreq) or CPU sleep states (cpuidle) for users and userspace tools easier. - -Authors: --------- - Dominik Brodowski - Thomas Renninger - %package -n libcpupower0 License: GPLv2+ Summary: Obsolete processor frequency related C-library Group: System/Base -AutoReqProv: on - %description -n libcpupower0 Contains libcpupower and soon possibly other CPU power related C libraries. -Authors: --------- - Dominik Brodowski - - %package devel License: GPLv2+ Summary: Include files and C-libraries @@ -70,11 +54,6 @@ Requires: libcpupower0 = %{version} %description devel Include files and C-libraries for C/C++ development - -Authors: --------- - Dominik Brodowski - %package bench License: GPLv2+ Summary: CPU frequency micro benchmark @@ -89,11 +68,6 @@ governor (e.g. ondemand, userspace, conservative) and the cpufreq HW driver For that purpose, it compares the performance governor to a configured powersave module. - -Authors: --------- - Christian Kornacker - %prep %setup -q %patch0 -p1 @@ -104,7 +78,7 @@ Authors: export SUSE_ASNEEDED=0 CONF="PACKAGE_BUGREPORT=http://bugs.opensuse.org mandir=%_mandir libdir=%_libdir CPUFRQ_BENCH=true STRIP=true VERSION=%{version}" export CFLAGS="$RPM_OPT_FLAGS" -make $CONF +make $CONF %{?_smp_mflags} %install export SUSE_ASNEEDED=0 @@ -116,9 +90,6 @@ mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples mv $RPM_BUILD_ROOT/%{_docdir}/%{name}/cpufreq-bench_script.sh $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples %find_lang %{name} -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libcpupower0 -p /sbin/ldconfig %postun -n libcpupower0 -p /sbin/ldconfig