From 02861b5a18c3e4eb5b7737d0c6fefb71561af8f93b003f54c2047ec705d5bf02 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 22 Aug 2012 06:39:56 +0000 Subject: [PATCH 1/2] Accepting request 131272 from home:chenxiaolong:branches:Base:System Update to version 2.1 :) OBS-URL: https://build.opensuse.org/request/show/131272 OBS-URL: https://build.opensuse.org/package/show/Base:System/powertop?expand=0&rev=13 --- powertop-2.0.tar.bz2 | 3 --- powertop-2.1.tar.gz | 3 +++ powertop-no-date.patch | 17 ++++++----------- powertop.changes | 15 +++++++++++++++ powertop.spec | 5 +++-- 5 files changed, 27 insertions(+), 16 deletions(-) delete mode 100644 powertop-2.0.tar.bz2 create mode 100644 powertop-2.1.tar.gz diff --git a/powertop-2.0.tar.bz2 b/powertop-2.0.tar.bz2 deleted file mode 100644 index 716b767..0000000 --- a/powertop-2.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c -size 456654 diff --git a/powertop-2.1.tar.gz b/powertop-2.1.tar.gz new file mode 100644 index 0000000..914e4c9 --- /dev/null +++ b/powertop-2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dd4816cca4167063b78d2d7772aff8dc58377d0ed74bf11862412a8a80d2698 +size 960274 diff --git a/powertop-no-date.patch b/powertop-no-date.patch index d14084b..9977e69 100644 --- a/powertop-no-date.patch +++ b/powertop-no-date.patch @@ -1,17 +1,12 @@ ---- - src/main.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: powertop-2.0/src/main.cpp -=================================================================== ---- powertop-2.0.orig/src/main.cpp -+++ powertop-2.0/src/main.cpp -@@ -80,7 +80,7 @@ static const struct option long_options[ +diff -Nru powertop-2.1.orig/src/main.cpp powertop-2.1/src/main.cpp +--- powertop-2.1.orig/src/main.cpp 2012-08-21 01:43:23.616729444 -0400 ++++ powertop-2.1/src/main.cpp 2012-08-21 01:44:07.582480500 -0400 +@@ -83,7 +83,7 @@ static void print_version() { -- printf(_("Powertop version" POWERTOP_VERSION ", compiled on "__DATE__ "\n")); -+ printf(_("Powertop version" POWERTOP_VERSION "\n")); +- printf(_("PowerTOP version" POWERTOP_VERSION ", compiled on " __DATE__ "\n")); ++ printf(_("PowerTOP version" POWERTOP_VERSION "\n")); } static bool set_refresh_timeout() diff --git a/powertop.changes b/powertop.changes index ce23dcc..90d5f7f 100644 --- a/powertop.changes +++ b/powertop.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Aug 21 05:15:01 UTC 2012 - chenxiaolong@cxl.epac.to + +- Update to version 2.1: +* Added Transifex project integration +* Added localization of the UI with 9 languages in progress and active +* Support for cores without P-states +* Support for Intel GPU statistics +* PowerTOP manual page added +* Added an option to specify workload to run during measurement +* Add an option to suppress output to the terminal +* Added more ARM support assets +* Synced Traceevent library from the kernel tree for better event parsing +* Bug fixes and clean ups + ------------------------------------------------------------------- Sat May 12 15:22:00 UTC 2012 - jengelh@inai.de diff --git a/powertop.spec b/powertop.spec index f106d04..0b6e533 100644 --- a/powertop.spec +++ b/powertop.spec @@ -22,9 +22,9 @@ Url: https://01.org/powertop/ Summary: A Linux Tool to Find out What is Using Power on a Laptop License: GPL-2.0+ Group: System/Monitoring -Version: 2.0 +Version: 2.1 Release: 0 -Source: https://01.org/powertop/sites/default/files/downloads/%name-%version.tar.bz2 +Source: https://01.org/powertop/sites/default/files/downloads/%name-%version.tar.gz Patch2: powertop-1.98-always-create-params.patch Patch5: powertop-no-date.patch BuildRequires: gcc-c++ @@ -69,5 +69,6 @@ touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results. %ghost %{_localstatedir}/cache/powertop/saved_parameters.powertop %ghost %{_localstatedir}/cache/powertop/saved_results.powertop %_sbindir/%name +%{_mandir}/man8/powertop.8.gz %changelog From dcee910219a0cac2f923a8da063f6c670efea283b5d2f72da699e4a5f1a2aca7 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 30 Aug 2012 20:20:45 +0000 Subject: [PATCH 2/2] Accepting request 132099 from home:chenxiaolong:branches:Base:System Fix build on i586 OBS-URL: https://build.opensuse.org/request/show/132099 OBS-URL: https://build.opensuse.org/package/show/Base:System/powertop?expand=0&rev=14 --- powertop.changes | 5 +++++ powertop.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/powertop.changes b/powertop.changes index 90d5f7f..ae61f06 100644 --- a/powertop.changes +++ b/powertop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 30 16:02:03 UTC 2012 - chenxiaolong@cxl.epac.to + +- Remove leftover x86_64 objects during build + ------------------------------------------------------------------- Tue Aug 21 05:15:01 UTC 2012 - chenxiaolong@cxl.epac.to diff --git a/powertop.spec b/powertop.spec index 0b6e533..03a8026 100644 --- a/powertop.spec +++ b/powertop.spec @@ -48,6 +48,9 @@ doing in terms of power savings. %patch2 -p1 %patch5 -p1 +# Delete objects files left in tarball +find . -name '*.o' -delete + %build %configure make %{?_smp_mflags}