]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: Require dmidecode on more architectures
authorAndrea Bolognani <abologna@redhat.com>
Fri, 18 Oct 2024 07:57:19 +0000 (09:57 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 18 Oct 2024 12:09:59 +0000 (14:09 +0200)
It's not only used on x86_64 these days. See virSysinfoRead().

Technically we should include loongarch64 in the list as well,
but Fedora hasn't been bootstrapped on the architecture yet,
and when the time comes several more changes are going to be
necessary anyway.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
libvirt.spec.in

index c3dc6e21c0df0d8e651d4713dc8f26227d251284..f26de04553eb2517f2cb4215d049c5384964608f 100644 (file)
@@ -19,7 +19,7 @@
 %define arches_x86              %{ix86} x86_64
 
 %define arches_systemtap_64bit  %{arches_64bit}
-%define arches_dmidecode        %{arches_x86}
+%define arches_dmidecode        %{arches_x86} aarch64 riscv64
 %define arches_xen              %{arches_x86} aarch64
 %if 0%{?fedora}
     %define arches_xen          x86_64 aarch64