rpms/glusterfs/EL-5 glusterfs.spec,1.1,1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Sun Feb 3 14:22:24 UTC 2008


Author: thias

Update of /cvs/extras/rpms/glusterfs/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12769

Modified Files:
	glusterfs.spec 
Log Message:
Fix build requirements when the client is disabled.



Index: glusterfs.spec
===================================================================
RCS file: /cvs/extras/rpms/glusterfs/EL-5/glusterfs.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- glusterfs.spec	3 Feb 2008 13:53:20 -0000	1.1
+++ glusterfs.spec	3 Feb 2008 14:21:47 -0000	1.2
@@ -20,7 +20,6 @@
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/service, /sbin/chkconfig
 Requires(postun): /sbin/service
-BuildRequires: fuse-devel
 BuildRequires: python-devel
 %{!?_without_ibverbs:BuildRequires: libibverbs-devel}
 BuildRequires: flex, bison, byacc
@@ -53,11 +52,13 @@
 common to both GlusterFS server and client framework.
 
 
+%if 0%{!?_without_client:1}
 %package client
 Summary: GlusterFS Client
 Group: Applications/File
 Requires: fuse
 Requires: %{name}-libs = %{version}-%{release}
+BuildRequires: fuse-devel
 
 %description client
 GlusterFS is a clustered file-system capable of scaling to several
@@ -69,6 +70,7 @@
 is in userspace and easily manageable.
 
 This package provides the FUSE based GlusterFS client.
+%endif
 
 
 %package server




More information about the fedora-extras-commits mailing list