]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: some CentOS fixes
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sat, 19 Mar 2011 00:04:17 +0000 (17:04 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sat, 19 Mar 2011 00:07:36 +0000 (17:07 -0700)
BuildRequires: cryptopp-devel has been replaced by nss-devel.  Skip
google-perftools-devel because that package is not available for x86-64.
Add python.

Don't install libcls_rbd.so.1.0.0.debug.

Package crbdnamer and librados-config.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
ceph.spec.in

index b83798583b9a60dcdc08008f7b746c23ae0d3364..f26253f29ec0ac3a280eb1bd137e2e663942adce 100644 (file)
@@ -12,10 +12,10 @@ URL:           http://ceph.newdream.net/
 Source:        http://ceph.newdream.net/download/%{name}-%{version}.tar.gz
 BuildRequires: fuse-devel, libtool, libtool-ltdl-devel, boost-devel, 
 BuildRequires: libedit-devel, fuse-devel, git, perl, gdbm,
-BuildRequires: cryptopp-devel, libatomic_ops-devel, google-perftools-devel
-BuildRequires: pkgconfig
+BuildRequires: nss-devel, libatomic_ops-devel
+BuildRequires: pkgconfig, python
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires(post): chkconfig, binutils, libedit, google-perftools
+Requires(post): chkconfig, binutils, libedit
 Requires(preun): chkconfig
 Requires(preun): initscripts
 
@@ -103,11 +103,6 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp/
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/stat
 
-# To avoid that libcls_rbd.so.1.0.0 is beeing stiped by find-debuginfo.sh
-# we petend that the debug symbols have already been extracted
-mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/%{_libdir}/rados-classes/
-touch $RPM_BUILD_ROOT/usr/lib/debug/%{_libdir}/rados-classes/libcls_rbd.so.1.0.0.debug
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -144,6 +139,8 @@ fi
 %{_bindir}/cmon
 %{_bindir}/cmds
 %{_bindir}/cosd
+%{_bindir}/crbdnamer
+%{_bindir}/librados-config
 %{_bindir}/rados
 %{_bindir}/rbd
 %{_bindir}/cdebugpack