From: Cole Robinson Date: Fri, 18 Jul 2014 17:15:45 +0000 (-0400) Subject: spec: Use power64 macro X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6b57c3de0fa618f870f8ba2c030ef278c6fd6bfd;p=libvirt.git spec: Use power64 macro Covers the whole ppc64 family. Example bug for binutils: https://bugzilla.redhat.com/show_bug.cgi?id=834651 --- diff --git a/libvirt.spec.in b/libvirt.spec.in index bf09e4fa1a..c8cc36ec78 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