On 05/08/2012 10:04 AM, Osier Yang wrote:
As libnuma's API is used to set memory policy.
---
libvirt.spec.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 95d8af4..f7764e8 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -457,8 +457,12 @@ BuildRequires: gawk
BuildRequires: scrub
%if %{with_numad}
+%if 0%{?fedora} >= 17
+BuildRequires: numactl-devel
+%else
BuildRequires: numad
%endif
+%endif
ACK.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org