From: Andrea Bolognani Date: Fri, 14 Mar 2025 09:44:36 +0000 (+0100) Subject: rpm: Enable KVM for riscv64 on RHEL 10+ X-Git-Tag: v11.3.0-rc1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dd0ad6d52b9bb521f791b80d953ae19b8ac9945;p=thirdparty%2Flibvirt.git rpm: Enable KVM for riscv64 on RHEL 10+ Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrangé --- diff --git a/libvirt.spec.in b/libvirt.spec.in index cb41ea1de1..9217820137 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -8,7 +8,9 @@ %define arches_qemu_kvm %{ix86} x86_64 %{power64} %{arm} aarch64 s390x riscv64 %if 0%{?rhel} - %if 0%{?rhel} > 8 + %if 0%{?rhel} >= 10 + %define arches_qemu_kvm x86_64 aarch64 s390x riscv64 + %elif 0%{?rhel} >= 9 %define arches_qemu_kvm x86_64 aarch64 s390x %else %define arches_qemu_kvm x86_64 %{power64} aarch64 s390x