diff options
author | Niels de Vos <ndevos@redhat.com> | 2013-04-03 13:17:29 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-04-03 13:35:56 -0700 |
commit | 5625c999ed2cbafa843bf88938da2806253d0838 (patch) | |
tree | 524f8729d713e645a5649a7185e8498ddeda8ce5 /glusterfs.spec.in | |
parent | b2aa9c6723e3cda46ef3ddc45f21a8a78cef1b77 (diff) |
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 <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/4768
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 3 |
1 files changed, 3 insertions, 0 deletions
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} |