From 54f7d83e4124e608cadc2ed5024308ae813318ab Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Fri, 18 Mar 2011 17:04:17 -0700 Subject: [PATCH] ceph.spec.in: some CentOS fixes 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 --- ceph.spec.in | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index b83798583b9a..f26253f29ec0 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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 -- 2.47.3