From 34783a9e6b9c3d8850db878fc323c1ff40703ea6 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Fri, 9 Feb 2018 13:42:50 +0100 Subject: [PATCH] spec: Enable fuse only if LXC is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enabling fuse without LXC does not make a lot of sense because fuse is used only by LXC. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrangé --- 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