The gluster command line tool that is used to lookup storage pool
sources moved from the gluster-client package to gluster-cli.
Unfortunately the location differs between fedora and rhel so depend
on the package rather than binary.
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1349441
---
libvirt.spec.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 51ffbb55c..a76f6a9cf 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -595,6 +595,10 @@ Requires: util-linux
%if 0%{?fedora}
Requires: glusterfs-client >= 2.0.1
%endif
+# gluster cli tool for pool discovery
+%if (0%{?fedora} || 0%{?with_storage_gluster})
+Requires: gluster-cli
+%endif
# For LVM drivers
Requires: lvm2
# For ISCSI driver
--
2.11.0