Accepting request 357794 from benchmark

- Use optflags when building

OBS-URL: https://build.opensuse.org/request/show/357794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autobench?expand=0&rev=2
This commit is contained in:
2016-02-08 08:47:53 +00:00
committed by Git OBS Bridge
2 changed files with 16 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 4 20:58:46 UTC 2016 - mpluskal@suse.com
- Use optflags when building
-------------------------------------------------------------------
Wed Apr 15 11:25:48 UTC 2015 - jhura@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package autobench
#
# 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
@@ -25,7 +25,7 @@ Group: System/Benchmark
Url: http://www.xenoclast.org/autobench
Source0: http://www.xenoclast.org/autobench/downloads/%{name}-%{version}.tar.gz
Source1: http://www.xenoclast.org/autobench/downloads/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
Source2: %{name}.keyring
BuildRequires: perl
Requires: gawk
Requires: gnuplot
@@ -46,10 +46,11 @@ imported directly into a spreadsheet for analysis/graphing.
%setup -q
%build
make %{?_smp_mflags}
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
make install \
make \
install \
PREFIX=%{buildroot} \
BINDIR=%{buildroot}%{_bindir} \
MANDIR=%{buildroot}%{_mandir}/man1
@@ -66,11 +67,11 @@ sed -i '/MASTER_CONFIG/s/"\([^"]*\)"/"\/etc\/autobench.conf"/' %{buildroot}%{_bi
%{_bindir}/bench2graph
%{_bindir}/crfile
%{_bindir}/sesslog
%{_mandir}/man1/autobench.1.gz
%{_mandir}/man1/autobench_admin.1.gz
%{_mandir}/man1/autobenchd.1.gz
%{_mandir}/man1/bench2graph.1.gz
%{_mandir}/man1/crfile.1.gz
%{_mandir}/man1/sesslog.1.gz
%{_mandir}/man1/autobench.1%{ext_man}
%{_mandir}/man1/autobench_admin.1%{ext_man}
%{_mandir}/man1/autobenchd.1%{ext_man}
%{_mandir}/man1/bench2graph.1%{ext_man}
%{_mandir}/man1/crfile.1%{ext_man}
%{_mandir}/man1/sesslog.1%{ext_man}
%changelog