From: Wen Congyang Date: Tue, 22 May 2012 08:07:02 +0000 (+0800) Subject: fix building error on non fedora system X-Git-Tag: v0.9.13-rc1~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81e9e7cf3be95be7a9144f04bf628d78d9b50bfb;p=thirdparty%2Flibvirt.git fix building error on non fedora system We forget to define with_storage_rbd if the system is not fedora, or the version is less than 16. --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 9435f9c365..06690739cb 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -77,6 +77,8 @@ %define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}} %if 0%{?fedora} >= 16 %define with_storage_rbd 0%{!?_without_storage_rbd:%{server_drivers}} +%else +%define with_storage_rbd 0 %endif %define with_numactl 0%{!?_without_numactl:%{server_drivers}} %define with_selinux 0%{!?_without_selinux:%{server_drivers}}