From 8404ec28e4216de1783ea6fe19c79789378250a9 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 26 Jun 2013 13:25:22 +0200 Subject: rpm: move the mount/api xlator to the glusterfs-api sub-package The main glusterfs package included the xlator/api.so file which caused a dependency on the glusterfs-api package: # rpm -i glusterfs-3.4.0-0.6.beta3.el6.x86_64.rpm error: Failed dependencies: libgfapi.so.0()(64bit) is needed by glusterfs-3.4.0-0.6.beta3.el6.x86_64 Moving the mount/api xlator to the glusterfs-api package will prevent the automatic dependency generator to add the dependency to the main package. Change-Id: I4650c40cdfe610b9b69bab07d262093854aa6583 BUG: 950083 Reported-by: Vijay Bellur Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/5255 Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- glusterfs.spec.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index a33951dbd..6472eb3fb 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -473,6 +473,7 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/run/nfs.pid %if ( 0%{!?_without_rdma:1} ) %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/rpc-transport/rdma* %endif +%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mount/api* %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mount/fuse* %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/storage* %exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/posix* @@ -587,6 +588,7 @@ fi %files api %exclude %{_libdir}/*.so %{_libdir}/libgfapi.* +%{_libdir}/glusterfs/%{version}/xlator/mount/api* %if ( 0%{!?_without_ocf:1} ) %files resource-agents @@ -672,6 +674,9 @@ if [ $1 -ge 1 ]; then fi %changelog +* Wed Jun 26 2013 Niels de Vos +- move the mount/api xlator to glusterfs-api + * Fri Jun 7 2013 Kaleb S. KEITHLEY - Sync with Fedora glusterfs.spec, remove G4S/UFO and Swift -- cgit