packages: lvm2/lvm2.spec - updated udev version - added openais bcond (adds...

qboosh qboosh at pld-linux.org
Thu Jan 19 19:35:09 CET 2012


Author: qboosh                       Date: Thu Jan 19 18:35:09 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated udev version
- added openais bcond (adds corosync,openais managers to clvmd, enables cmirrord)

---- Files affected:
packages/lvm2:
   lvm2.spec (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.181 packages/lvm2/lvm2.spec:1.182
--- packages/lvm2/lvm2.spec:1.181	Wed Jan 18 14:46:27 2012
+++ packages/lvm2/lvm2.spec	Thu Jan 19 19:35:03 2012
@@ -1,14 +1,17 @@
 # $Revision$, $Date$
 # TODO
 # - vgscan --ignorelocking failure creates /var/lock/lvm (even if /var is not yet mounted)
+# - --with-replicators (=internal/shared/none, default is none)?
+# - OCF agents?
 #
 # Conditional build:
 %bcond_without	initrd		# don't build initrd version
-%bcond_with	uClibc			# link initrd version with uClibc
+%bcond_with	uClibc		# link initrd version with uClibc
 %bcond_without	dietlibc	# link initrd version with dietlibc
-%bcond_with	glibc			# link initrd version with static GLIBC
+%bcond_with	glibc		# link initrd version with static GLIBC
 %bcond_without	clvmd		# don't build clvmd
-%bcond_with	clvmd3			# build clvmd for 3rd generation of cluster
+%bcond_with	clvmd3		# build clvmd for 3rd generation of cluster
+%bcond_with	openais		# enable corosync&openais managers and cmirrord
 %bcond_without	selinux		# disable SELinux
 
 %ifarch sparc64 sparc
@@ -52,12 +55,15 @@
 Patch4:		dl-dlsym.patch
 Patch5:		pldize_lvm2_monitor.patch
 URL:		http://sources.redhat.com/lvm2/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake
 %{?with_selinux:BuildRequires:	libselinux-devel >= 1.10}
 %{?with_selinux:BuildRequires:	libsepol-devel}
+BuildRequires:	ncurses-devel
 BuildRequires:	pkgconfig
+BuildRequires:	readline-devel
 BuildRequires:	rpmbuild(macros) >= 1.213
+BuildRequires:	udev-devel >= 143
 %if %{with initrd}
 %if %{with dietlibc}
 BuildRequires:	dietlibc-static >= 2:0.32-7
@@ -78,9 +84,10 @@
 BuildRequires:	cluster-cman-devel
 BuildRequires:	cluster-dlm-devel
 %endif
-BuildRequires:	ncurses-devel
-BuildRequires:	readline-devel
-BuildRequires:	udev-devel
+%if %{with openais}
+BuildRequires:	corosync-devel
+BuildRequires:	openais-devel >= 1.0
+%endif
 Requires:	device-mapper >= %{version}-%{release}
 %if %{with clvmd}
 Requires:	cman-libs >= 1.0
@@ -301,17 +308,18 @@
 	--enable-fsadm \
 	--enable-applib \
 	--enable-cmdlib \
+	%{?with_openais:--enable-cmirrord} \
 	--enable-dmeventd \
 	--enable-pkgconfig \
-	%{?with_clvmd:--with-clvmd=cman} \
+	--enable-udev_sync \
+	--enable-udev_rules \
+	%{?with_clvmd:--with-clvmd=cman%{?with_openais:,corosync,openais}} \
 	--with-lvm1=internal \
 	--with-pool=internal \
 	--with-cluster=internal \
 	--with-snapshots=internal \
 	--with-mirrors=internal \
 	--with-interface=ioctl \
-	--enable-udev_sync \
-	--enable-udev_rules \
 	--with-udev-prefix=/ \
 	%{!?with_selinux:--disable-selinux}
 
@@ -447,6 +455,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.182  2012/01/19 18:35:03  qboosh
+- updated udev version
+- added openais bcond (adds corosync,openais managers to clvmd, enables cmirrord)
+
 Revision 1.181  2012/01/18 13:46:27  caleb
 - Up to 2.02.88
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2.spec?r1=1.181&r2=1.182&f=u



More information about the pld-cvs-commit mailing list