[samba4/f18] Enable clustering support.

asn asn at fedoraproject.org
Fri Sep 21 12:17:32 UTC 2012


commit a5d9ca80100d07b03c4795ece394ea21e06db0d7
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Thu Sep 20 12:34:47 2012 +0200

    Enable clustering support.

 samba4.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/samba4.spec b/samba4.spec
index 0b43fb1..8926be1 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -25,6 +25,8 @@
 %global with_mitkrb5 1
 %global with_dc 0
 
+%global with_clustering_support 1
+
 %if 0%{?rhel} == 6
 %global with_talloc 0
 %global with_tevent 0
@@ -121,7 +123,9 @@ Conflicts: samba < %{samba_depver}
 Provides: samba = %{samba_depver}
 
 BuildRequires: autoconf
+%if %with_clustering_support
 BuildRequires: ctdb-devel
+%endif
 BuildRequires: cups-devel
 BuildRequires: docbook-style-xsl
 BuildRequires: e2fsprogs-devel
@@ -467,6 +471,9 @@ link against the SMB, RPC and other protocols.
 %if ! %with_dc
         --without-ad-dc \
 %endif
+%if %with_clustering_support
+        --with-cluster-support \
+%endif
 %if ! %with_pam_smbpass
         --without-pam_smbpass
 %endif


More information about the scm-commits mailing list