[packages/ceph] - use system leveldb and libs3 (the latter only for rest-bench, which is not installed by default)

qboosh qboosh at pld-linux.org
Fri Oct 5 15:38:42 CEST 2012


commit f965be587321d6065e30cb2e6361c80dcab473b2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 5 15:40:09 2012 +0200

    - use system leveldb and libs3 (the latter only for rest-bench, which is not installed by default)

 ceph.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ceph.spec b/ceph.spec
index 78e5876..b026a11 100644
--- a/ceph.spec
+++ b/ceph.spec
@@ -25,11 +25,13 @@ BuildRequires:	fcgi-devel
 BuildRequires:	gdbm-devel
 %{?with_hadoop:BuildRequires:	jdk}
 BuildRequires:	keyutils-devel
+BuildRequires:	leveldb-devel
 BuildRequires:	libaio-devel
 BuildRequires:	libatomic_ops
 BuildRequires:	libedit-devel >= 2.11
 BuildRequires:	libfuse-devel
 BuildRequires:	libltdl-devel
+BuildRequires:	libs3-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtcmalloc-devel
 BuildRequires:	libtool >= 2:1.5
@@ -39,6 +41,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	python >= 1:2.4
 BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRequires:	sed >= 4.0
+BuildRequires:	snappy-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires(preun):	rc-scripts
 Requires:	%{name}-libs = %{version}-%{release}
@@ -183,9 +186,9 @@ Agenci OCF do monitorowania procesów Cepha.
 	--with-hadoop%{!?with_hadoop:=no} \
 	--with-ocf \
 	--with-radosgw \
+	--with-system-leveldb \
+	--with-system-libs3 \
 	--disable-silent-rules
-# --with-system-leveldb (BR: libleveldb, snappy-devel)
-# --with-system-libs3 (BR: libs3)
 
 %{__make}
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list