Enabling fuse without LXC does not make a lot of sense because fuse is
used only by LXC.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 44f846a169..4821da826e 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -163,7 +163,7 @@
%endif
# fuse is used to provide virtualized /proc for LXC
-%if 0%{?fedora} || 0%{?rhel} >= 7
+%if %{with_lxc}
%define with_fuse 0%{!?_without_fuse:1}
%endif
--
2.16.1