summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2013-06-26 13:25:22 +0200
committerVijay Bellur <vbellur@redhat.com>2013-06-26 06:35:03 -0700
commit8404ec28e4216de1783ea6fe19c79789378250a9 (patch)
tree648cd776acf1055108fd36113d988f94f9e8b4a0
parentf7b1245ca221fd7d4cee626ae358a2ebc933ffdd (diff)
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 <vbellur@redhat.com> Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/5255 Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--glusterfs.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index a33951dbd95..6472eb3fb91 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 <ndevos@redhat.com>
+- move the mount/api xlator to glusterfs-api
+
* Fri Jun 7 2013 Kaleb S. KEITHLEY <kkeithle@redhat.com>
- Sync with Fedora glusterfs.spec, remove G4S/UFO and Swift