This commit is contained in:
parent
c5a4dbce09
commit
7b6ed3d331
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 23 07:29:12 CEST 2008 - xwhu@suse.de
|
||||
|
||||
- Fix build aginst beta
|
||||
definition of PIPE_BUF is missing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 10:47:17 CEST 2008 - xwhu@suse.de
|
||||
|
||||
|
12
lvm2.spec
12
lvm2.spec
@ -22,7 +22,7 @@ PreReq: %fillup_prereq %insserv_prereq
|
||||
%endif
|
||||
AutoReqProv: on
|
||||
Version: 2.02.33
|
||||
Release: 15
|
||||
Release: 17
|
||||
Summary: LVM2 Tools
|
||||
Source: LVM2.%{version}.tar.bz2
|
||||
Source1: lvm.conf
|
||||
@ -37,6 +37,7 @@ Patch6: man_page_sectors.diff
|
||||
Patch10: lvm-no_chown.diff
|
||||
Patch11: cmdline_large_minor.diff
|
||||
Patch12: enable-clvmd.patch
|
||||
Patch13: pipe_buff-definition.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -55,6 +56,7 @@ Volume Manager.
|
||||
%patch6
|
||||
%patch10
|
||||
%patch12
|
||||
%patch13
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" MODPROBE_CMD=/sbin/modprobe \
|
||||
@ -62,7 +64,8 @@ LDFLAGS="-L /usr/%_lib/openais" \
|
||||
./configure --prefix=/ \
|
||||
--mandir=%{_mandir} \
|
||||
--includedir=/usr/include \
|
||||
--libdir=/%_lib --enable-dmeventd --enable-cmdlib --with-clvmd=openais
|
||||
--libdir=/%_lib --enable-dmeventd --enable-cmdlib \
|
||||
--with-clvmd=openais --with-cluster=shared
|
||||
make
|
||||
|
||||
%install
|
||||
@ -153,6 +156,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/%_lib/libdevmapper-event-lvm2snapshot.so.2.02
|
||||
/%_lib/liblvm2cmd.so
|
||||
/%_lib/liblvm2cmd.so.2.02
|
||||
/%_lib/liblvm2clusterlock.so
|
||||
/%_lib/liblvm2clusterlock.so.2.02
|
||||
%{_mandir}/man8/clvmd.8.gz
|
||||
%{_mandir}/man5/lvm.conf.5.gz
|
||||
%{_mandir}/man8/lvchange.8.gz
|
||||
@ -199,6 +204,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man8/vgsplit.8.gz
|
||||
|
||||
%changelog
|
||||
* Wed Apr 23 2008 xwhu@suse.de
|
||||
- Fix build aginst beta
|
||||
definition of PIPE_BUF is missing
|
||||
* Tue Apr 22 2008 xwhu@suse.de
|
||||
- Enable CLVM support in LVM2
|
||||
* Wed Feb 20 2008 fehr@suse.de
|
||||
|
11
pipe_buff-definition.diff
Normal file
11
pipe_buff-definition.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- daemons/clvmd/clvmd.c
|
||||
+++ daemons/clvmd/clvmd.c
|
||||
@@ -59,6 +59,8 @@
|
||||
|
||||
#define ISLOCAL_CSID(c) (memcmp(c, our_csid, max_csid_len) == 0)
|
||||
|
||||
+#include <linux/limits.h>
|
||||
+
|
||||
/* Head of the fd list. Also contains
|
||||
the cluster_socket details */
|
||||
static struct local_client local_client_head;
|
Loading…
Reference in New Issue
Block a user