From d87f957015052836fdf7d3215fda65a84d3b42d4e43617d29ee5619b359dd768 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Wed, 4 Jul 2018 17:18:33 +0000 Subject: [PATCH] Accepting request 620643 from home:jfehlig:branches:Virtualization - spec: enable gluster storage backend for openSUSE OBS-URL: https://build.opensuse.org/request/show/620643 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=694 --- libvirt.changes | 5 +++++ libvirt.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libvirt.changes b/libvirt.changes index 6bf0b80..726b450 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 4 15:27:05 UTC 2018 - jfehlig@suse.com + +- spec: enable gluster storage backend for openSUSE + ------------------------------------------------------------------- Mon Jun 25 14:17:03 UTC 2018 - jfehlig@suse.com diff --git a/libvirt.spec b/libvirt.spec index 92a94e7..8f65c39 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -38,7 +38,7 @@ # Then the secondary host drivers, which run inside libvirtd %define with_storage_rbd 0%{!?_without_storage_rbd:0} %define with_storage_sheepdog 0 -%define with_storage_gluster 0 +%define with_storage_gluster 0%{!?_without_storage_gluster:1} %define with_apparmor 0%{!?_without_apparmor:1} # Optional bits on by default @@ -142,6 +142,11 @@ %endif %endif +# gluster storage backend is not supported in SLE +%if ! 0%{?is_opensuse} + %define with_storage_gluster 0 +%endif + # numad is used to manage the CPU and memory placement dynamically for # qemu, lxc, and uml drivers %if %{with_qemu} || %{with_lxc} || %{with_uml}