Accepting request 405686 from benchmark

- Use url for source
- Tiny spec file cleanups

OBS-URL: https://build.opensuse.org/request/show/405686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bonnie?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2016-07-03 10:27:43 +00:00 committed by Git OBS Bridge
commit caa6b5ed5a
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 30 13:21:33 UTC 2016 - mpluskal@suse.com
- Use url for source
- Tiny spec file cleanups
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 9 10:56:17 UTC 2015 - mpluskal@suse.com Thu Apr 9 10:56:17 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package bonnie # spec file for package bonnie
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,7 @@ Summary: File System Benchmark
License: GPL-2.0+ License: GPL-2.0+
Group: System/Benchmark Group: System/Benchmark
Url: https://code.google.com/p/bonnie-64/ Url: https://code.google.com/p/bonnie-64/
Source0: %{name}-%{version}.tar.bz2 Source0: https://fossies.org/linux/privat/old/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -34,15 +34,15 @@ of Unix file systems.
%setup -q -n %{name} %setup -q -n %{name}
%build %build
make CC=gcc CFLAGS="%{optflags}" %{?_smp_mflags} make SYSFLAGS="%{optflags}" %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} MANDIR=%{_mandir} %make_install
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc bonnie.doc README %doc bonnie.doc README
%{_bindir}/bonnie %{_bindir}/bonnie
%{_mandir}/man1/bonnie.1.gz %{_mandir}/man1/bonnie.1%{ext_man}
%changelog %changelog