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..ae61f06 100644 --- a/powertop.changes +++ b/powertop.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +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 + +- 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..03a8026 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++ @@ -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} @@ -69,5 +72,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