[packages/libvirt] added bcond glusterfs
sls
sls at pld-linux.org
Thu Dec 5 18:31:37 CET 2013
commit 6dcba5af7ddb1dbba53ea1d18d27dc8db9d067ce
Author: Szymon Siwek <sls at pld-linux.org>
Date: Thu Dec 5 18:13:31 2013 +0100
added bcond glusterfs
- added bcond glusterfs
- added BR: glusterfs-devel
- ./configure --with-glusterfs
libvirt.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/libvirt.spec b/libvirt.spec
index 40d3d9e..c014007 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -5,6 +5,7 @@
# Conditional build:
%bcond_without ceph # RADOS BD (Ceph) storage support
%bcond_without esx # VMware ESX support
+%bcond_without glusterfs # GlusterFS storage support
%bcond_without hyperv # Hyper-V support
%bcond_without libxl # libxenlight support
%bcond_without lxc # LXC support
@@ -62,6 +63,7 @@ BuildRequires: dbus-devel >= 1.0.0
BuildRequires: device-mapper-devel >= 1.0.0
BuildRequires: gawk
BuildRequires: gettext-devel >= 0.17
+%{?with_glusterfs:BuildRequires: glusterfs-devel >= 3.4.1}
BuildRequires: gnutls-devel >= 1.0.25
BuildRequires: libapparmor-devel
BuildRequires: libblkid-devel >= 2.17
@@ -492,6 +494,7 @@ mv po/vi_VN.gmo po/vi.gmo
--with-qemu-group=qemu \
--with-storage-disk \
--with-storage-fs \
+ --with-storage-gluster%{!?with_glusterfs:=no} \
--with-storage-iscsi \
--with-storage-lvm \
--with-storage-mpath \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/b0c1ceac9eed6e55cb94acaaa29f26c8cd2801fb
More information about the pld-cvs-commit
mailing list