From 6820b31d2248d6efd861dadc0ea3be731199d479 Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Mon, 19 Oct 2009 13:02:45 +0000 Subject: [PATCH] Enable openais support in clvmd --- lvm2.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lvm2.spec b/lvm2.spec index 3c44025..394d8cd 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -1,5 +1,6 @@ %define device_mapper_version 1.02.38 %define corosync_version 1.0.0-1 +%define openais_version 1.1.0-1 %define clusterlib_version 3.0.0-20 # Do not reset Release to 1 unless both lvm2 and device-mapper @@ -8,7 +9,7 @@ Summary: Userland logical volume management tools Name: lvm2 Version: 2.02.53 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: System Environment/Base URL: http://sources.redhat.com/lvm2 @@ -21,6 +22,7 @@ BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel BuildRequires: ncurses-devel BuildRequires: readline-devel BuildRequires: corosynclib-devel >= %{corosync_version} +BuildRequires: openaislib-devel >= %{openais_version} BuildRequires: clusterlib-devel >= %{clusterlib_version} BuildRequires: module-init-tools BuildRequires: pkgconfig @@ -51,7 +53,7 @@ or more physical volumes and creating one or more logical volumes %define _sbindir /sbin %define _libdir /%{_lib} -%configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd +%configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman,openais,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd make %{?_smp_mflags} @@ -241,6 +243,7 @@ Requires(preun): chkconfig Requires(preun): device-mapper >= %{device_mapper_version} Requires(preun): lvm2 >= 2.02 Requires: corosync >= %{corosync_version} +Requires: openais >= %{openais_version} Requires: clusterlib >= %{clusterlib_version} %description cluster @@ -379,6 +382,9 @@ the device-mapper event library. %changelog +* Mon Oct 19 2009 Fabio M. Di Nitto - 2.02.53-3 +- Enable openais support in clvmd. + * Fri Sep 25 2009 Alasdair Kergon - 2.02.53-2 - Reissued tarball to fix compilation warning from lvm2_log_fn prototype.