]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Fix numad check
authorBoris Fiuczynski <fiuczy@linux.ibm.com>
Mon, 19 Oct 2020 12:23:00 +0000 (14:23 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 19 Oct 2020 13:25:08 +0000 (15:25 +0200)
This caused

DEBUG: meson.build:2149:2: ERROR: Problem encountered: You must have numactl enabled for numad support.

on s390x.

Fixes: 974dc0a4c678af8ccb9224abecc834bb593e81fa
Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
libvirt.spec.in

index 2bd4784d0f1eeb40f1e1fb36a0b06eaf8ecb6338..325566f32908e55644de5aa9680b8c2097d60d9d 100644 (file)
 %if %{with_qemu} || %{with_lxc}
 # numad is used to manage the CPU and memory placement dynamically,
 # it's not available on many non-x86 architectures.
-    %ifnarch %{arches_numad}
+    %ifarch %{arches_numad}
         %define with_numad    0%{!?_without_numad:1}
     %endif
 %endif