From b33bef7d6340efcc05fdda0a4ff339616a2eddb2 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 (cherry picked from commit 0742d82b5561634a5f4ed73fc6cbe4d4f26b0d42) --- ceph.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 0cfdad784d52b..67027dbb6d845 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -934,6 +934,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.39.5