Accepting request 357687 from home:pluskalm:branches:Base:System
- Make building more verbose - Use optflags when building OBS-URL: https://build.opensuse.org/request/show/357687 OBS-URL: https://build.opensuse.org/package/show/Base:System/powertop?expand=0&rev=39
This commit is contained in:
parent
fd6990bd3c
commit
555f54bc91
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 4 10:09:28 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Make building more verbose
|
||||
- Use optflags when building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 10 01:46:48 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
|
@ -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
|
||||
@ -58,15 +58,15 @@ doing in terms of power savings.
|
||||
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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user