path: root/
diff options
authorNiels de Vos <>2013-04-03 13:17:29 +0200
committerAnand Avati <>2013-04-03 13:35:56 -0700
commit5625c999ed2cbafa843bf88938da2806253d0838 (patch)
tree524f8729d713e645a5649a7185e8498ddeda8ce5 /
parentb2aa9c6723e3cda46ef3ddc45f21a8a78cef1b77 (diff)
build: require /usr/bin/fusermount when not carrying our own version
The 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: Reviewed-by: Kaleb KEITHLEY <> Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to '')
1 files changed, 3 insertions, 0 deletions
diff --git a/ b/
index 208c27603..a522a0060 100644
--- a/
+++ b/
@@ -204,6 +204,9 @@ Group: Applications/File
BuildRequires: fuse-devel
Requires: %{name} = %{version}-%{release}
+%if ! 0%{?_with_fusermount}
+Requires: /usr/bin/fusermount
Obsoletes: %{name}-client < %{version}-%{release}
Provides: %{name}-client = %{version}-%{release}