Skip to content

Commit

Permalink
Merge pull request #5789 from SUSE/wip-12928-hammer
Browse files Browse the repository at this point in the history
rpm: libcephfs_jni1 has no %post and %postun 

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Jan 29, 2016
2 parents c4bb343 + 50c82f2 commit f1d5570
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ This package contains Ceph benchmarks and test tools.
%if 0%{with cephfs_java}

%package -n libcephfs_jni1
Summary: Java Native Interface library for CephFS Java bindings.
Summary: Java Native Interface library for CephFS Java bindings
Group: System Environment/Libraries
License: LGPL-2.0
Requires: java
Expand All @@ -358,7 +358,7 @@ This package contains the Java Native Interface library for CephFS Java
bindings.

%package -n libcephfs_jni1-devel
Summary: Development files for CephFS Java Native Interface library.
Summary: Development files for CephFS Java Native Interface library
Group: System Environment/Libraries
License: LGPL-2.0
Requires: java
Expand All @@ -369,7 +369,7 @@ This package contains the development files for CephFS Java Native Interface
library.

%package -n cephfs-java
Summary: Java libraries for the Ceph File System.
Summary: Java libraries for the Ceph File System
Group: System Environment/Libraries
License: LGPL-2.0
Requires: java
Expand All @@ -388,7 +388,7 @@ This package contains the Java libraries for the Ceph File System.
%endif

%package libs-compat
Summary: Meta package to include ceph libraries.
Summary: Meta package to include ceph libraries
Group: System Environment/Libraries
License: LGPL-2.0
Obsoletes: ceph-libs
Expand Down Expand Up @@ -932,6 +932,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,-)
Expand Down

0 comments on commit f1d5570

Please sign in to comment.