]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in libcephfs_jni1 has no %post and %postun 4821/head
authorOwen Synge <osynge@suse.com>
Mon, 1 Jun 2015 12:58:31 +0000 (14:58 +0200)
committerOwen Synge <osynge@suse.com>
Mon, 1 Jun 2015 12:58:31 +0000 (14:58 +0200)
/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>
ceph.spec.in

index 752311cf0ec39c29a2644eb67160ad85805580c8..8e9341c9086616be1394d4d9ed0dbf81a00c4fef 100644 (file)
@@ -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,-)