From e9c2fd6474bdbd44a35f5067d6d2e5d5da32abcf Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Thu, 1 Jul 2010 09:00:03 +0000 Subject: [PATCH] Add ExclusiveArch --- virt-v2v.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/virt-v2v.spec b/virt-v2v.spec index a97518a..f89382c 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -1,6 +1,6 @@ Name: virt-v2v Version: 0.6.1 -Release: 0%{?dist} +Release: 1%{?dist} Summary: Convert a virtual machine to run on KVM Group: Applications/System @@ -9,6 +9,11 @@ URL: http://git.fedoraproject.org/git/virt-v2v.git Source0: https://fedorahosted.org/releases/v/i/virt-v2v/%{name}-v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# Unfortunately, despite really being noarch, we have to make virt-v2v arch +# dependent to avoid build failures on architectures where libguestfs isn't +# available. +ExclusiveArch: %{ix86} x86_64 + # Build system direct requirements BuildRequires: gettext BuildRequires: perl @@ -126,7 +131,10 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Mon Jun 21 2010 Matthew Booth - 0.6.1 +* Thu Jul 1 2010 Matthew Booth - 0.6.1-1 +- Only build virt-v2v on architectures where libguestfs is available + +* Mon Jun 21 2010 Matthew Booth - 0.6.1-0 - Update to release 0.6.1 - Disable building of debuginfo