]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Enable fuse only if LXC is enabled
authorJiri Denemark <jdenemar@redhat.com>
Fri, 9 Feb 2018 12:42:50 +0000 (13:42 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 14 Feb 2018 14:55:18 +0000 (15:55 +0100)
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>
libvirt.spec.in

index 44f846a169f725a25632fe1c800c86c1125ea6cb..4821da826e954d9cc2366a39c822fa56c90ca8dc 100644 (file)
 %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