Skip to contentSkip to conversation

ceph.spec.in: Move libcls_*.so from -devel to base package

PATCH In review Holger Macht 2 participants 2 messages Feb 15, 2012 – Feb 22, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ceph.spec.in: Move libcls_*.so from -devel to base package

OSDs (src/osd/ClassHandler.cc) specifically look for libcls_*.so in /usr/$libdir/rados-classes, so libcls_rbd.so and libcls_rgw.so need to be shipped along with the base package.

---
 ceph.spec.in |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
ceph.spec.in +2 -4
index 48fd4ee..58c3af7 100644
@@ -348,8 +348,8 @@ fi
 %ghost %dir %{_localstatedir}/run/ceph/
 %dir %{_sysconfdir}/ceph/
 /usr/sbin/rcceph
-%{_libdir}/rados-classes/libcls_rbd.so.*
-%{_libdir}/rados-classes/libcls_rgw.so.*
+%{_libdir}/rados-classes/libcls_rbd.so*
+%{_libdir}/rados-classes/libcls_rgw.so*
 
 #################################################################################
 %files fuse
@@ -377,8 +377,6 @@ fi
 %dir %{_includedir}/rbd
 %{_includedir}/rbd/librbd.h
 %{_includedir}/rbd/librbd.hpp
-%{_libdir}/rados-classes/libcls_rbd.so
-%{_libdir}/rados-classes/libcls_rgw.so
 %{_libdir}/libcephfs.so
 %{_libdir}/librbd.so
 %{_libdir}/librgw.so
Signature · 1 line
1.7.7
#1 lore raw

I didn't see him say so, but Sage pulled this in last week...thanks! :) -Greg

Quoted 36 lines · Holger Macht

OSDs (src/osd/ClassHandler.cc) specifically look for libcls_*.so in /usr/$libdir/rados-classes, so libcls_rbd.so and libcls_rgw.so need to be shipped along with the base package.

---
 ceph.spec.in |    6 ++----

 1 files changed, 2 insertions(+), 4 deletions(-)
ceph.spec.in +0 -0
index 48fd4ee..58c3af7 100644
@@ -348,8 +348,8 @@ fi

 %ghost %dir %{_localstatedir}/run/ceph/
 %dir %{_sysconfdir}/ceph/
 /usr/sbin/rcceph
-%{_libdir}/rados-classes/libcls_rbd.so.*
-%{_libdir}/rados-classes/libcls_rgw.so.*
+%{_libdir}/rados-classes/libcls_rbd.so*
+%{_libdir}/rados-classes/libcls_rgw.so*

 #################################################################################
 %files fuse

ceph.spec.in +0 -0
@@ -377,8 +377,6 @@ fi

 %dir %{_includedir}/rbd
 %{_includedir}/rbd/librbd.h
 %{_includedir}/rbd/librbd.hpp
-%{_libdir}/rados-classes/libcls_rbd.so
-%{_libdir}/rados-classes/libcls_rgw.so
 %{_libdir}/libcephfs.so
 %{_libdir}/librbd.so
 %{_libdir}/librgw.so
--
1.7.7

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html