Hello community,

here is the log from the commit of package powertop for openSUSE:Factory 
checked in at 2016-02-11 12:33:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/powertop (Old)
 and      /work/SRC/openSUSE:Factory/.powertop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "powertop"

Changes:
--------
--- /work/SRC/openSUSE:Factory/powertop/powertop.changes        2015-11-12 
19:35:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.powertop.new/powertop.changes   2016-02-11 
12:33:23.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Feb  8 14:44:26 UTC 2016 - [email protected]
+
+- Remove patch powertop-1.98-always-create-params.patch:
+  * No mention why this is needed. I don't see any reason for
+    having it.
+
+-------------------------------------------------------------------
+Thu Feb  4 10:09:28 UTC 2016 - [email protected]
+
+- Make building more verbose
+- Use optflags when building
+
+-------------------------------------------------------------------

Old:
----
  powertop-1.98-always-create-params.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ powertop.spec ++++++
--- /var/tmp/diff_new_pack.4y8I88/_old  2016-02-11 12:33:24.000000000 +0100
+++ /var/tmp/diff_new_pack.4y8I88/_new  2016-02-11 12:33:24.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package powertop
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,6 @@
 Url:            https://01.org/powertop/
 Source0:        
https://01.org/sites/default/files/downloads/%{name}/%{name}-%{version}.tar.gz
 Source1:        powertop.service
-Patch2:         powertop-1.98-always-create-params.patch
 Patch5:         powertop-no-date.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gettext
@@ -51,22 +50,21 @@
 
 %prep
 %setup -q
-%patch2 -p1
 %patch5 -p1
 
 # Delete objects files left in tarball
 find . -name '*.o' -delete
 
 %build
-%configure CFLAGS=-D_GNU_SOURCE
-make %{?_smp_mflags}
+export CFLAGS="%{optflags} -D_GNU_SOURCE"
+%configure
+make %{?_smp_mflags} V=1
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 install -Dd %{buildroot}%{_localstatedir}/cache/powertop
 touch 
%{buildroot}%{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.powertop}
-install -d %{buildroot}%{_unitdir}
-install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}
+install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/powertop.service
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 %find_lang %{name}
 


Reply via email to