From 6bb11f12e9be4d49c4a9efb403787c88fb84774b1d51daddd661e0a11b356e6b Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 30 Jun 2016 13:21:56 +0000 Subject: [PATCH] - Use url for source - Tiny spec file cleanups OBS-URL: https://build.opensuse.org/package/show/benchmark/bonnie?expand=0&rev=4 --- bonnie.changes | 6 ++++++ bonnie.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/bonnie.changes b/bonnie.changes index 8008827..ea8aa46 100644 --- a/bonnie.changes +++ b/bonnie.changes @@ -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 diff --git a/bonnie.spec b/bonnie.spec index 0ca47e6..d278fe1 100644 --- a/bonnie.spec +++ b/bonnie.spec @@ -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