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 <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Jiri Denemark 2018-02-09 13:42:50 +01:00
parent b62b8090b2
commit 34783a9e6b

View File

@ -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