From 0742d82b5561634a5f4ed73fc6cbe4d4f26b0d42 Mon Sep 17 00:00:00 2001 From: Owen Synge Date: Mon, 1 Jun 2015 14:58:31 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) 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,-) -- 2.47.3