mirror of https://gitee.com/openkylin/libvirt.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 <jdenemar@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
b62b8090b2
commit
34783a9e6b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue