Accepting request 132104 from Base:System

Fix build on i586 (forwarded request 132099 from chenxiaolong)

OBS-URL: https://build.opensuse.org/request/show/132104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powertop?expand=0&rev=26
This commit is contained in:
Ismail Dönmez 2012-09-01 19:58:12 +00:00 committed by Git OBS Bridge
commit ddba85737e
5 changed files with 35 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 @@
---
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()

View File

@ -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

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
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