From 8fa149f9025a753acceadf21a55009904285313c Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Thu, 6 Dec 2012 09:19:26 -0500 Subject: [PATCH] Add ppc64 and s390x as KVM arches for Fedora >= 18 (bz #872545) --- libvirt.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libvirt.spec b/libvirt.spec index 5547182..c4847f9 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -53,7 +53,13 @@ %define with_qemu_tcg %{with_qemu} # Change if we ever provide qemu-kvm binaries on non-x86 hosts -%ifarch %{ix86} x86_64 +%if 0%{?fedora} >= 18 +%define qemu_kvm_arches %{ix86} x86_64 ppc64 s390x +%else +%define qemu_kvm_arches %{ix86} x86_64 +%endif + +%ifarch %{qemu_kvm_arches} %define with_qemu_kvm %{with_qemu} %else %define with_qemu_kvm 0 @@ -320,7 +326,7 @@ Summary: Library providing a simple virtualization API Name: libvirt Version: 0.10.2.1 -Release: 3%{?dist}%{?extra_release} +Release: 4%{?dist}%{?extra_release} License: LGPLv2+ Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root @@ -1909,6 +1915,9 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/sysctl.d/libvirtd %endif %changelog +* Thu Dec 06 2012 Cole Robinson - 0.10.2.1-4 +- Add ppc64 and s390x as KVM arches for Fedora >= 18 (bz #872545) + * Tue Nov 13 2012 Cole Robinson - 0.10.2.1-3 - Cleanly save session VMs on logout/shutdown (bz #872254)