diff --git a/ceph.spec.in b/ceph.spec.in index 752311cf0ec..8e9341c9086 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -948,6 +948,12 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1 %defattr(-,root,root,-) %{_libdir}/libcephfs_jni.so.* +%post -n libcephfs_jni1 +/sbin/ldconfig + +%postun -n libcephfs_jni1 +/sbin/ldconfig + ################################################################################# %files -n libcephfs_jni1-devel %defattr(-,root,root,-)