]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
fix building error on non fedora system
authorWen Congyang <wency@cn.fujitsu.com>
Tue, 22 May 2012 08:07:02 +0000 (16:07 +0800)
committerWen Congyang <wency@cn.fujitsu.com>
Thu, 24 May 2012 13:11:58 +0000 (21:11 +0800)
We forget to define with_storage_rbd if the system is not fedora,
or the version is less than 16.

libvirt.spec.in

index 9435f9c365018bc6dff07b017b605809063fcdd7..06690739cba351243ad58c0b019febbf53d94ffb 100644 (file)
@@ -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}}