[libvirt] [PATCH 1/2] spec: Use power64 macro

Cole Robinson crobinso at redhat.com
Fri Jul 18 17:28:25 UTC 2014


From: Peter Robinson <pbrobinson at fedoraproject.org>

Covers the whole ppc64 family. Example bug for binutils:

https://bugzilla.redhat.com/show_bug.cgi?id=834651
---
 libvirt.spec.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 76e57aa..cac7d99 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -60,15 +60,16 @@
 %if 0%{?fedora}
     %if 0%{?fedora} < 16
         # Fedora doesn't have any QEMU on ppc64 until FC16 - only ppc
+        # I think F17 is the first release with the power64 macro
         %ifarch ppc64
             %define with_qemu_tcg 0
         %endif
     %endif
     %if 0%{?fedora} >= 18
-        %define qemu_kvm_arches %{ix86} x86_64 ppc64 s390x
+        %define qemu_kvm_arches %{ix86} x86_64 %{power64} s390x
     %endif
     %if 0%{?fedora} >= 20
-        %define qemu_kvm_arches %{ix86} x86_64 ppc64 s390x %{arm}
+        %define qemu_kvm_arches %{ix86} x86_64 %{power64} s390x %{arm}
     %endif
 %endif
 
-- 
1.9.3




More information about the libvir-list mailing list