rpms/dbench/devel dbench-4.0-datadir.patch, 1.1, 1.2 dbench.spec, 1.3, 1.4

Rahul Sundaram (sundaram) fedora-extras-commits at redhat.com
Mon Apr 14 03:52:09 UTC 2008


Author: sundaram

Update of /cvs/pkgs/rpms/dbench/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10136

Modified Files:
	dbench-4.0-datadir.patch dbench.spec 
Log Message:
fix patch


dbench-4.0-datadir.patch:

Index: dbench-4.0-datadir.patch
===================================================================
RCS file: /cvs/pkgs/rpms/dbench/devel/dbench-4.0-datadir.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dbench-4.0-datadir.patch	14 Apr 2008 03:28:00 -0000	1.1
+++ dbench-4.0-datadir.patch	14 Apr 2008 03:51:32 -0000	1.2
@@ -12,14 +12,15 @@
  	${INSTALLCMD} -m644 dbench.1 $(DESTDIR)/$(mandir)
  	ln -sf dbench.1 $(DESTDIR)/$(mandir)/tbench.1
  	ln -sf dbench.1 $(DESTDIR)/$(mandir)/tbench_srv.1
---- dbench-4.0/dbench.c.datadir	2007-07-11 15:28:31.000000000 -0400
-+++ dbench-4.0/dbench.c	2007-07-11 15:29:50.000000000 -0400
-@@ -29,7 +29,7 @@ int sync_open = 0, sync_dirs = 0;
- char *tcp_options = TCP_OPTIONS;
- static int timelimit = 600, warmup;
- static const char *directory = ".";
--static char *loadfile = DATADIR "/client.txt";
-+static char *loadfile = DATADIR "/dbench/client.txt";
- static struct timeval tv_start;
- static struct timeval tv_end;
+--- dbench-4.0/dbench.c.datadir	2008-04-14 09:10:00.000000000 +0530
++++ dbench-4.0/dbench.c	2008-04-14 09:10:22.000000000 +0530
+@@ -28,7 +28,7 @@
+ 
+ struct options options = {
+ 	.timelimit           = 600,
+-	.loadfile            = DATADIR "/client.txt",
++	.loadfile            = DATADIR "/dbench/client.txt",
+ 	.directory           = ".",
+ 	.tcp_options         = TCP_OPTIONS,
+ 	.nprocs              = 10,
  


Index: dbench.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dbench/devel/dbench.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dbench.spec	14 Apr 2008 03:25:34 -0000	1.3
+++ dbench.spec	14 Apr 2008 03:51:32 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           dbench
 Version:        4.0 
-Release:        0%{?dist}
+Release:        1%{?dist}
 Summary:        Filesystem load benchmarking tool
 
 Group:          System Environment/Base
@@ -22,7 +22,8 @@
 %patch0 -p1 -b .destdir 
 %patch1 -p1 -b .datadir
 
-%build 
+%build
+./autogen.sh 
 %configure
 make %{?_smp_mflags}
 
@@ -43,6 +44,8 @@
 %{_mandir}/man1/*
 
 %changelog
+* Mon Apr 14 2008 Rahul Sundaram <sundaram at fedoraproject.org> -4.0-1
+- Fix patch
 * Mon Apr 14 2008 Rahul Sundaram <sundaram at fedoraproject.org> -4.0-0
 - New upstream release 4.0
 * Sat Feb 9 2008 Rahul Sundaram <sundaram at fedoraproject.org> - 3.04-7




More information about the fedora-extras-commits mailing list