From: Owen Synge Date: Mon, 1 Jun 2015 12:58:31 +0000 (+0200) Subject: ceph.spec.in libcephfs_jni1 has no %post and %postun X-Git-Tag: v9.0.2~58^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F4821%2Fhead;p=ceph.git ceph.spec.in libcephfs_jni1 has no %post and %postun /usr/lib64/libcephfs_jni.so.1.0.0 requires /sbin/ldconfig to be run after installing and after removing. Signed-off-by: Owen Synge --- diff --git a/ceph.spec.in b/ceph.spec.in index 752311cf0ec3..8e9341c90866 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,-)