diff --git a/bonnie-1.4.dif b/bonnie-1.4.dif index 639ccdb..38932c0 100644 --- a/bonnie-1.4.dif +++ b/bonnie-1.4.dif @@ -28,3 +28,17 @@ gzip -9f $(DESTDIR)$(MANDIR)/man1/bonnie.1 clean: +--- Bonnie.c 2002-04-04 12:59:46.000000000 +0000 ++++ Bonnie.c 2008-04-26 05:17:35.000000000 +0000 +@@ -77,11 +77,6 @@ + #include <sys/wait.h> + #include <stdlib.h> + +-#ifdef __linux__ +-/* for o_direct */ +-#include <asm/page.h> +-#endif +- + #ifdef unix + #include <signal.h> + #endif diff --git a/bonnie.changes b/bonnie.changes index d17cfac..362275a 100644 --- a/bonnie.changes +++ b/bonnie.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 26 07:18:49 CEST 2008 - coolo@suse.de + +- remove unused header file + ------------------------------------------------------------------- Mon May 22 17:21:45 CEST 2006 - schwab@suse.de diff --git a/bonnie.spec b/bonnie.spec index 43f400c..61f4cfc 100644 --- a/bonnie.spec +++ b/bonnie.spec @@ -1,7 +1,7 @@ # # spec file for package bonnie (Version 1.4) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,14 +10,15 @@ # norootforbuild + Name: bonnie -URL: http://www.garloff.de/kurt/linux/bonnie/ -License: GPL +Url: http://www.garloff.de/kurt/linux/bonnie/ +License: GPL v2 or later Group: System/Benchmark -Autoreqprov: on +AutoReqProv: on Summary: File System Benchmark Version: 1.4 -Release: 352 +Release: 443 Source: %{name}-%{version}.tar.bz2 Patch: bonnie-1.4.dif #Patch: %{name}-%{version}.diff @@ -50,38 +51,40 @@ make install DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} /usr/bin/bonnie %{_mandir}/man1/bonnie.1.gz -%changelog -n bonnie -* Mon May 22 2006 - schwab@suse.de +%changelog +* Sat Apr 26 2008 coolo@suse.de +- remove unused header file +* Mon May 22 2006 schwab@suse.de - Don't build as root. - Don't strip binaries. -* Fri May 19 2006 - ro@suse.de +* Fri May 19 2006 ro@suse.de - fix build on ppc64 (define PAGE_MASK if not done) -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Thu Apr 04 2002 - garloff@suse.de +* Thu Apr 04 2002 garloff@suse.de - Version-1.4: * Fix seek benchmark: 1.3 read too large chunks (1MB instead of 16k) after every seek, resulting in too low seek numbers. bug #15642 -* Sat Feb 23 2002 - garloff@suse.de +* Sun Feb 24 2002 garloff@suse.de - Compile fix for archs not supporting O_DIRECT (typo) - Use O_DIRECT from fcntl.h if present. -* Wed Feb 20 2002 - garloff@suse.de +* Wed Feb 20 2002 garloff@suse.de - Update to bonnie-1.3: * Fixed HTML output (thanks to Rupert Kolb for notfying/patch) * Optionally use O_DIRECT (patch by Chris Mason / Andrea Arc.) -* Wed Aug 30 2000 - garloff@suse.de +* Wed Aug 30 2000 garloff@suse.de - Update to 1.2: * New option -u for getc_/putc_unlocked. * Fixed CPU percentage reports if equal or in excess of 100%%. * Machine name defaults to hostname now. - Use BuildRoot. -* Sun Feb 13 2000 - garloff@suse.de +* Mon Feb 14 2000 garloff@suse.de - Moved manpage to /usr/share/man - new options -y, -S, -p - Add warning if test-size smaller memsize -* Mon Sep 13 1999 - bs@suse.de +* Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. -* Tue Jul 20 1999 - garloff@suse.de +* Tue Jul 20 1999 garloff@suse.de - Initial check in of Big Bonnie. - Added breakhandler to remove temporary files.