[PATCH] fix building error on non fedora system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We forget to define with_storage_rbd if the system is not fedora,
or the version is less than 16.

---
 libvirt.spec.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 8c4a2fd..0b83969 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -75,6 +75,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}}
-- 
1.7.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]