From 5625c999ed2cbafa843bf88938da2806253d0838 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 3 Apr 2013 13:17:29 +0200 Subject: build: require /usr/bin/fusermount when not carrying our own version The fuse.so from glusterfs-fuse will try to call /usr/bin/fusermount. This obviously fails when the fuse package is not installed and fusermount is not available. In order to prevent this problem, the glusterfs-fuse package should require /usr/bin/fusermount so that it gets automatically pulled in when glusterfs-fuse is installed with yum. BUG: 947830 Change-Id: I20fe836a1aaf751dbc04d9ec4ba5ea50573c71c5 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/4768 Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System Reviewed-by: Anand Avati --- glusterfs.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 208c2760342..a522a0060fb 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -204,6 +204,9 @@ Group: Applications/File BuildRequires: fuse-devel Requires: %{name} = %{version}-%{release} +%if ! 0%{?_with_fusermount} +Requires: /usr/bin/fusermount +%endif Obsoletes: %{name}-client < %{version}-%{release} Provides: %{name}-client = %{version}-%{release} -- cgit