spec: Use power64 macro

Covers the whole ppc64 family. Example bug for binutils:

https://bugzilla.redhat.com/show_bug.cgi?id=834651
This commit is contained in:
Cole Robinson 2014-07-18 13:15:45 -04:00
parent efdb9117ee
commit 6b57c3de0f

View File

@ -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