commit 430360a9b658a1d41df59256e3b32b5faa23cf86
Author: Jakub Bogusz <[email protected]>
Date:   Sun Sep 15 14:31:42 2013 +0200

    - preliminary zfs bcond

 ceph.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/ceph.spec b/ceph.spec
index 132212c..e5f3aec 100644
--- a/ceph.spec
+++ b/ceph.spec
@@ -1,8 +1,8 @@
-# TODO: libzfs
 #
 # Conditional build:
 %bcond_with    hadoop  # Hadoop client (requires JNI)
 %bcond_without java    # Java binding
+%bcond_with    zfs     # ZFS support [needs zfs.pc, not provided yet(?)]
 #
 Summary:       User space components of the Ceph file system
 Summary(pl.UTF-8):     Działające w przestrzeni użytkownika elementy systemu 
plików Ceph
@@ -45,6 +45,7 @@ BuildRequires:        pkgconfig
 BuildRequires: python >= 1:2.4
 BuildRequires: rpmbuild(macros) >= 1.228
 BuildRequires: snappy-devel
+%{?with_zfs:BuildRequires:     zfs-devel}
 Requires(post,preun):  /sbin/chkconfig
 Requires(preun):       rc-scripts
 Requires:      %{name}-libs = %{version}-%{release}
@@ -204,6 +205,7 @@ Klient Hadoopa dla systemu plików Ceph.
        --sbindir=/sbin \
        --with-cryptopp \
        --with-hadoop%{!?with_hadoop:=no} \
+       %{?with_zfs:--with-libzfs} \
        --with-ocf \
        --with-radosgw \
        --with-system-leveldb \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ceph.git/commitdiff/430360a9b658a1d41df59256e3b32b5faa23cf86

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to