- Use url for source

- Tiny spec file cleanups

OBS-URL: https://build.opensuse.org/package/show/benchmark/bonnie?expand=0&rev=4
This commit is contained in:
Martin Pluskal 2016-06-30 13:21:56 +00:00 committed by Git OBS Bridge
parent 00c455b13f
commit 6bb11f12e9
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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,7 @@ Summary: File System Benchmark
License: GPL-2.0+
Group: System/Benchmark
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
%description
@ -34,15 +34,15 @@ of Unix file systems.
%setup -q -n %{name}
%build
make CC=gcc CFLAGS="%{optflags}" %{?_smp_mflags}
make SYSFLAGS="%{optflags}" %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} MANDIR=%{_mandir}
%make_install
%files
%defattr(-, root, root)
%doc bonnie.doc README
%{_bindir}/bonnie
%{_mandir}/man1/bonnie.1.gz
%{_mandir}/man1/bonnie.1%{ext_man}
%changelog