Hello community,

here is the log from the commit of package filebench for openSUSE:Factory 
checked in at 2016-07-05 09:52:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/filebench (Old)
 and      /work/SRC/openSUSE:Factory/.filebench.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "filebench"

Changes:
--------
--- /work/SRC/openSUSE:Factory/filebench/filebench.changes      2015-04-10 
10:20:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.filebench.new/filebench.changes 2016-07-05 
09:52:03.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Jul  2 21:59:12 UTC 2016 - [email protected]
+
+- Fix building on some architectures:
+  * make-dofile-global.patch
+- Add manpage
+
+-------------------------------------------------------------------

New:
----
  filebench.1
  make-dofile-global.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ filebench.spec ++++++
--- /var/tmp/diff_new_pack.mKUP4P/_old  2016-07-05 09:52:04.000000000 +0200
+++ /var/tmp/diff_new_pack.mKUP4P/_new  2016-07-05 09:52:04.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package filebench
 #
-# 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,11 @@
 License:        CDDL-1.0
 Group:          System/Benchmark
 Url:            http://filebench.sourceforge.net/
-Source:         
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:        
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1:        %{name}.1
+Patch0:         make-dofile-global.patch
+BuildRequires:  bison
+BuildRequires:  flex
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -37,18 +41,21 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
+install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
 
 %files
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING LICENSE NEWS README TODO
 %{_bindir}/%{name}
 %{_datadir}/%{name}/
+%{_mandir}/man1/%{name}.1%{ext_man}
 
 %changelog

++++++ filebench.1 ++++++
.TH filebench 1  "Sep 1, 2011" "revision 01" "USER COMMANDS"
.SH NAME
filebench \- interprets WML script and generates appropriate filesystem workload
.SH SYNOPSIS
.B filebench [-f <filename>] [-h]
.SH DESCRIPTION
.B Filebench
is a file system and storage benchmark that allows to generate a large variety 
of workloads. Unlike typical benchmarks it is very flexible and allows to 
minutely specify (any) applications' behaviour using extensive Workload Model 
Language (WML). Filebench uses loadable workload personalities to allow easy 
emulation of complex applications (e.g., mail, web, file, and database 
servers). Filebench is quick to set up and easy to use compared to deploying 
real applications. It is also a handy tool for micro-benchmarking.
.PP
.B Filebench
includes many features to facilitate file system benchmarking:
.IP \[bu] 2
Multiple workload types support via loadable personalities
.IP \[bu]
Ships with more than 40 pre-defined personalities, including the one that 
describe mail, web, file, and database servers behaviour
.IP \[bu]
Easy to add new personalities using reach Workload Model Language (WML)
.IP \[bu]
Multi-process and multi-thread workload support
.IP \[bu]
Configurable directory hierarchies with depth, width, and file sizes set to 
given statistical distributions
.IP \[bu]
Support of asynchronous I/O and process synchronization primitives
.IP \[bu]
Integrated statistics for throughput, latency, and CPU cycle counts per system 
call 

.SH OPTIONS
.TP
\-f <filename>
use specified file as an input instead of stdin
.TP
\-h
Display verbose help
.SH EXAMPLES
.TP
Run filebench interactively:
.TP
.B $ filebench
Start filebench interactive shell, filebench prompt will appear after that.
.TP
.B filebench> load fileserver
Load fileserver personality using load command.
.TP
.B filebench> set $dir=/mnt
After personality is loaded, tunables of the workload personality can be set. 
Here we change the benchmark directory to /mnt where the file system we want to 
benchmark is presumably mounted.
.TP
.B filebench> run 60
Start workload for 60 seconds. After 60 seconds of the run the statistics is 
printed and Filebench exits.
.TP
Run filebench non-interactively:
.TP
.B filebench -f /usr/share/filebench/workloads/fileserver.f
Run filebench non-interactively, however, you need to add 'run <time>' to the 
end of the workload personality file before calling filebench.
.PP
.SH EXIT STATUS
.TP
0 if OK,
.TP
1 if workload file is not found.
.SH REPORTING BUGS
http://sourceforge.net/tracker/?group_id=133644&atid=727883

++++++ make-dofile-global.patch ++++++
Index: parser_gram.y
===================================================================
--- parser_gram.y.orig
+++ parser_gram.y
@@ -71,7 +71,7 @@ static GetLine *gl;
 /* executable name to execute worker processes later */
 char *execname;
 
-static int dofile = DOFILE_FALSE;
+int dofile = DOFILE_FALSE;
 static FILE *parentscript;
 
 static char *fbbasepath = FILEBENCHDIR;

Reply via email to