From: Daniel P. Berrange Date: Wed, 11 May 2016 15:41:34 +0000 (+0100) Subject: libvit.spec.in: Add missing BuildRequires against sheepdog X-Git-Tag: v1.3.5-rc1~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7375948933ca33fddeaaf06a8ac9f7fe8e046375;p=thirdparty%2Flibvirt.git 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 --- 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