]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Use power64 macro
authorCole Robinson <crobinso@redhat.com>
Fri, 18 Jul 2014 17:15:45 +0000 (13:15 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 25 Jul 2014 19:20:13 +0000 (15:20 -0400)
Covers the whole ppc64 family. Example bug for binutils:

https://bugzilla.redhat.com/show_bug.cgi?id=834651

libvirt.spec.in

index bf09e4fa1a3adf1524a28b7f76902de43d75f558..c8cc36ec784d8bd00a905ca5c802467684e9d602 100644 (file)
 %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