rpms/ctdb/devel ctdb-ppc64_libdir.patch,NONE,1.1 ctdb.spec,1.5,1.6

Sumit Bose sbose at fedoraproject.org
Thu Apr 30 12:26:13 UTC 2009


Author: sbose

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

Modified Files:
	ctdb.spec 
Added Files:
	ctdb-ppc64_libdir.patch 
Log Message:
fixed a ppc64 build issue


ctdb-ppc64_libdir.patch:

--- NEW FILE ctdb-ppc64_libdir.patch ---
>From 8f9f392be864d841a82a0a82586bd078fd1c4402 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Thu, 30 Apr 2009 14:07:31 +0200
Subject: [PATCH] add more 64bit plattforms to configure.ac

---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index ebddd37..1b7ac49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ AC_DEFUN([SMB_ENABLE], [echo -n ""])
 AC_CONFIG_SRCDIR([server/ctdbd.c])
 
 case `uname -m` in
-  x86_64)
+  x86_64|ppc64|powerpc64)
     libdir='${exec_prefix}/lib64'
     ;;
   *)
-- 
1.6.0.6



Index: ctdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctdb/devel/ctdb.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- ctdb.spec	30 Apr 2009 11:14:39 -0000	1.5
+++ ctdb.spec	30 Apr 2009 12:25:43 -0000	1.6
@@ -3,7 +3,7 @@
 Summary: A Clustered Database based on Samba's Trivial Database (TDB)
 Name: ctdb
 Version: 1.0.79
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv3+
 Group: System Environment/Daemons
 URL: http://ctdb.samba.org/
@@ -18,6 +18,8 @@ Source0: %{name}-%{version}.tar.bz2
 Patch1: ctdb-no_default_runlevel.patch
 # sent to samba-technical: http://lists.samba.org/archive/samba-technical/2009-April/064391.html
 Patch2: ctdb-AC_INIT.patch
+# sent to samba-technical: http://lists.samba.org/archive/samba-technical/2009-April/064396.html
+Patch3: ctdb-ppc64_libdir.patch
 
 Requires: chkconfig coreutils psmisc
 Requires: fileutils sed
@@ -54,6 +56,7 @@ and use CTDB instead.
 %setup -T -D -n ctdb-%{version} -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 
@@ -135,6 +138,9 @@ fi
 %{_libdir}/pkgconfig/ctdb.pc
 
 %changelog
+* Thu Apr 30 2009 Sumit Bose <sbose at redhat.com> - 1.0.79-2
+ - fixed a ppc64 build issue
+
 * Wed Apr 29 2009 Sumit Bose <sbose at redhat.com> - 1.0.79-1
  - Update to ctdb version 1.0.79
 




More information about the fedora-extras-commits mailing list