From: Jiri Denemark Date: Fri, 9 Feb 2018 12:42:50 +0000 (+0100) Subject: spec: Enable fuse only if LXC is enabled X-Git-Tag: v4.1.0-rc1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34783a9e6b9c3d8850db878fc323c1ff40703ea6;p=thirdparty%2Flibvirt.git spec: Enable fuse only if LXC is enabled 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é --- 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