packages: corosync/corosync.spec - added rdma bcond

qboosh qboosh at pld-linux.org
Sun Sep 19 10:03:21 CEST 2010


Author: qboosh                       Date: Sun Sep 19 08:03:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added rdma bcond

---- Files affected:
packages/corosync:
   corosync.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/corosync/corosync.spec
diff -u packages/corosync/corosync.spec:1.10 packages/corosync/corosync.spec:1.11
--- packages/corosync/corosync.spec:1.10	Wed Sep  8 08:47:54 2010
+++ packages/corosync/corosync.spec	Sun Sep 19 10:03:12 2010
@@ -2,7 +2,8 @@
 #
 # Conditional build:
 %bcond_with	apidocs		# build apidocs
-
+%bcond_with	rdma		# build with RDMA support
+#
 Summary:	Corosync - OSI Certified implementation of a complete cluster engine
 Summary(pl.UTF-8):	Corosync - implementacja silnika klastrowego certyfikowana przez OSI
 Name:		corosync
@@ -15,9 +16,13 @@
 URL:		http://www.corosync.org/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
+%{?with_apidocs:BuildRequires:	doxygen}
+%if %{with rdma}
+BuildRequires:	libibverbs-devel
+BuildRequires:	librdmacm-devel
+%endif
 BuildRequires:	nss-devel
 BuildRequires:	pkgconfig
-%{?with_apidocs:BuildRequires:	doxygen}
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -78,9 +83,9 @@
 %{__automake}
 %configure \
 	--enable-nss \
+	%{?with_rdma:--enable-rdma} \
 	--with-initddir=/etc/rc.d/init.d \
 	--with-lcrso-dir=%{_libdir}/lcrso
-# --enable-rdma (BR: librdmacm, libibverbs)
 
 %{__make}
 
@@ -225,6 +230,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/09/19 08:03:12  qboosh
+- added rdma bcond
+
 Revision 1.10  2010/09/08 06:47:54  qboosh
 - pl
 - more verbose files
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/corosync/corosync.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list