From ff794c7017653dc857c70e5231ad6205376a7d20 Mon Sep 17 00:00:00 2001 From: Jonathan Dieter Date: Mon, 24 Sep 2012 09:00:37 +0300 Subject: [PATCH] Use system leveldb instead of bundled library Signed-off-by: Jonathan Dieter --- ceph.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ceph.spec b/ceph.spec index 63d8c98..f40fc80 100644 --- a/ceph.spec +++ b/ceph.spec @@ -1,6 +1,6 @@ Name: ceph Version: 0.51 -Release: 1%{?dist} +Release: 2%{?dist} Summary: User space components of the Ceph file system License: LGPLv2 Group: System Environment/Base @@ -19,6 +19,7 @@ BuildRequires: gperftools-devel BuildRequires: cryptopp-devel, libatomic_ops-devel, gcc-c++ BuildRequires: pkgconfig, libcurl-devel, keyutils-libs-devel BuildRequires: gtkmm24-devel, gtk2-devel, libuuid, libuuid-devel +BuildRequires: leveldb-devel, snappy-devel Requires(post): chkconfig, binutils, libedit Requires(preun): chkconfig @@ -103,7 +104,7 @@ EXTRA_LDFLAGS="-lpthread" %ifarch ppc ppc64 s390 s390x --without-tcmalloc \ %endif ---without-hadoop --with-radosgw --with-gtk2 \ +--with-system-leveldb --without-hadoop --with-radosgw --with-gtk2 \ CFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS -fvisibility-inlines-hidden" \ LDFLAGS="$EXTRA_LDFLAGS" @@ -263,6 +264,9 @@ fi %{_bindir}/boto_tool %changelog +* Tue Sep 18 2012 Jonathan Dieter - 0.51-2 +- Use system leveldb + * Fri Sep 07 2012 David Nalley - 0.51-1 - Updating to 0.51 - Updated url and source url.