]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: don't enable fuse on RHEL-6
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 22 Feb 2018 12:47:59 +0000 (12:47 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 22 Feb 2018 12:49:15 +0000 (12:49 +0000)
Fuse was recently enabled whereever LXC is enabled:

  commit 34783a9e6b9c3d8850db878fc323c1ff40703ea6
  Author: Jiri Denemark <jdenemar@redhat.com>
  Date:   Fri Feb 9 13:42:50 2018 +0100

    spec: Enable fuse only if LXC is enabled

Unfortunately the version of Fuse in RHEL-6 is too old for libvirt's
needs, but we still have LXC enabled there.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index e1e902c5e4c60fb8ffd0504fe7656e5d284b1c56..1eca4e39d4085ec73161cebb7d6810ab02645206 100644 (file)
 %endif
 
 # fuse is used to provide virtualized /proc for LXC
-%if %{with_lxc}
+%if %{with_lxc} && 0%{?rhel} != 6
     %define with_fuse      0%{!?_without_fuse:1}
 %endif