rpms/ctdb/devel 0001-added-a-prerequisite-to-make-it-safe-to-use-make-j.patch, NONE, 1.1 ctdb.spec, 1.2, 1.3

Sumit Bose sbose at fedoraproject.org
Tue Feb 24 13:46:18 UTC 2009


Author: sbose

Update of /cvs/pkgs/rpms/ctdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22171

Modified Files:
	ctdb.spec 
Added Files:
	0001-added-a-prerequisite-to-make-it-safe-to-use-make-j.patch 
Log Message:
* Tue Feb 24 2009 Sumit Bose <sbose at redhat.com> - 1.0.72-3
- fix a make -j dependency problem 


0001-added-a-prerequisite-to-make-it-safe-to-use-make-j.patch:

--- NEW FILE 0001-added-a-prerequisite-to-make-it-safe-to-use-make-j.patch ---
>From 9e8e305dc7d49b62cc7321339948b2f89e6c35d6 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Tue, 24 Feb 2009 12:55:17 +0100
Subject: [PATCH] added a prerequisite to make it safe to use make -j

---
 Makefile.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 03023b3..08f5bf4 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -116,6 +116,8 @@ bin/smnotify: utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o utils/smnot
 	@echo Linking $@
 	@$(CC) $(CFLAGS) -o $@ utils/smnotify/smnotify.o utils/smnotify/gen_xdr.o utils/smnotify/gen_smnotify.o $(POPT_OBJ) $(LIB_FLAGS)
 
+utils/smnotify/smnotify.o: utils/smnotify/smnotify.c utils/smnotify/smnotify.h
+
 utils/smnotify/smnotify.h:  utils/smnotify/smnotify.x
 	@echo Generating $@
 	rpcgen -h utils/smnotify/smnotify.x > utils/smnotify/smnotify.h
-- 
1.6.0.6



Index: ctdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctdb/devel/ctdb.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ctdb.spec	24 Feb 2009 10:10:37 -0000	1.2
+++ ctdb.spec	24 Feb 2009 13:45:47 -0000	1.3
@@ -3,7 +3,7 @@
 Summary: A Clustered Database based on Samba's Trivial Database (TDB)
 Name: ctdb
 Version: 1.0.72
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv3+
 Group: System Environment/Daemons
 URL: http://ctdb.samba.org/
@@ -17,6 +17,10 @@
 # Fedora specific patch, ctdb should not be enabled by default in the runlevels
 Patch1: ctdb-no_default_runlevel.patch
 
+# the patch fixes a dendency problem with make -j, sent to samba-technical:
+# http://lists.samba.org/archive/samba-technical/2009-February/063359.html
+Patch2: 0001-added-a-prerequisite-to-make-it-safe-to-use-make-j.patch
+
 Requires: chkconfig coreutils psmisc
 Requires: fileutils sed
 Requires(preun): chkconfig initscripts
@@ -51,6 +55,7 @@
 # setup the init script and sysconfig file
 %setup -T -D -n ctdb-%{version} -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 
@@ -130,6 +135,8 @@
 %{_includedir}/ctdb_private.h
 
 %changelog
+* Tue Feb 24 2009 Sumit Bose <sbose at redhat.com> - 1.0.72-3
+- fix a make -j dependency problem 
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.72-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list