SHA256
1
0
forked from pool/powertop

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
This commit is contained in:
Marcus Meissner 2012-08-22 06:39:56 +00:00 committed by Git OBS Bridge
parent 58bbd3c61c
commit 02861b5a18
5 changed files with 27 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c
size 456654

3
powertop-2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3dd4816cca4167063b78d2d7772aff8dc58377d0ed74bf11862412a8a80d2698
size 960274

View File

@ -1,17 +1,12 @@
--- diff -Nru powertop-2.1.orig/src/main.cpp powertop-2.1/src/main.cpp
src/main.cpp | 2 +- --- powertop-2.1.orig/src/main.cpp 2012-08-21 01:43:23.616729444 -0400
1 file changed, 1 insertion(+), 1 deletion(-) +++ powertop-2.1/src/main.cpp 2012-08-21 01:44:07.582480500 -0400
@@ -83,7 +83,7 @@
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[
static void print_version() static void print_version()
{ {
- printf(_("Powertop version" POWERTOP_VERSION ", compiled on "__DATE__ "\n")); - printf(_("PowerTOP version" POWERTOP_VERSION ", compiled on " __DATE__ "\n"));
+ printf(_("Powertop version" POWERTOP_VERSION "\n")); + printf(_("PowerTOP version" POWERTOP_VERSION "\n"));
} }
static bool set_refresh_timeout() static bool set_refresh_timeout()

View File

@ -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 Sat May 12 15:22:00 UTC 2012 - jengelh@inai.de

View File

@ -22,9 +22,9 @@ Url: https://01.org/powertop/
Summary: A Linux Tool to Find out What is Using Power on a Laptop Summary: A Linux Tool to Find out What is Using Power on a Laptop
License: GPL-2.0+ License: GPL-2.0+
Group: System/Monitoring Group: System/Monitoring
Version: 2.0 Version: 2.1
Release: 0 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 Patch2: powertop-1.98-always-create-params.patch
Patch5: powertop-no-date.patch Patch5: powertop-no-date.patch
BuildRequires: gcc-c++ 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_parameters.powertop
%ghost %{_localstatedir}/cache/powertop/saved_results.powertop %ghost %{_localstatedir}/cache/powertop/saved_results.powertop
%_sbindir/%name %_sbindir/%name
%{_mandir}/man8/powertop.8.gz
%changelog %changelog