Martin Pluskal 2019-11-05 08:07:43 +00:00 committed by Git OBS Bridge
parent ea51a8dbfc
commit 3a6f51272a

View File

@ -21,10 +21,9 @@ Version: 1.6
Release: 0
Summary: File System Benchmark
License: GPL-2.0-or-later
Url: https://code.google.com/p/bonnie-64/
Source0: https://fossies.org/linux/privat/old/%{name}-%{version}.tar.bz2
URL: https://code.google.com/p/bonnie-64/
Source0: %{name}-%{version}.tar.bz2
Patch0: bonnie-fix-o_direct.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bonnie is a popular performance benchmark that targets various aspects
@ -32,7 +31,7 @@ of Unix file systems.
%prep
%setup -q -n %{name}
%patch0 -p0
%patch0
%build
make SYSFLAGS="%{optflags}" %{?_smp_mflags}
@ -41,9 +40,8 @@ make SYSFLAGS="%{optflags}" %{?_smp_mflags}
%make_install
%files
%defattr(-, root, root)
%doc bonnie.doc README
%{_bindir}/bonnie
%{_mandir}/man1/bonnie.1%{ext_man}
%{_mandir}/man1/bonnie.1%{?ext_man}
%changelog