From 7375948933ca33fddeaaf06a8ac9f7fe8e046375 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 11 May 2016 16:41:34 +0100 Subject: [PATCH] libvit.spec.in: Add missing BuildRequires against sheepdog We were adding a sheepdog requirement at runtime, but forgetting to turn it on at build time, so the underlying code was never built. Signed-off-by: Daniel P. Berrange --- libvirt.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 2afe4374c6..886f5cfc9e 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -357,6 +357,9 @@ BuildRequires: ceph-devel BuildRequires: glusterfs-api-devel >= 3.4.1 BuildRequires: glusterfs-devel >= 3.4.1 %endif +%if %{with_storage_sheepdog} +BuildRequires: sheepdog +%endif %if %{with_numactl} # For QEMU/LXC numa info BuildRequires: numactl-devel