]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in libcephfs_jni1 has no %post and %postun
authorOwen Synge <osynge@suse.com>
Mon, 1 Jun 2015 12:58:31 +0000 (14:58 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2015 10:24:17 +0000 (11:24 +0100)
/usr/lib64/libcephfs_jni.so.1.0.0 requires /sbin/ldconfig to be
run after installing and after removing.

Signed-off-by: Owen Synge <osynge@suse.com>
(cherry picked from commit 0742d82b5561634a5f4ed73fc6cbe4d4f26b0d42)

ceph.spec.in

index 0cfdad784d52bd1de7f45f2755a55cbc5f9b2fb6..67027dbb6d8457ef66481944cbd7b37145a4a72d 100644 (file)
@@ -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,-)