]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: Enable KVM for riscv64 on RHEL 10+
authorAndrea Bolognani <abologna@redhat.com>
Fri, 14 Mar 2025 09:44:36 +0000 (10:44 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 24 Apr 2025 09:25:53 +0000 (11:25 +0200)
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index cb41ea1de1c6cd3d3d5f8c810d0df7be4f7d490f..9217820137dc68c59d9bf86392062be1c59c7ee7 100644 (file)
@@ -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