Add ExclusiveArch

This commit is contained in:
Matthew Booth 2010-07-01 09:00:03 +00:00
parent 9fe047b554
commit e9c2fd6474

View File

@ -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 <mbooth@redhat.com> - 0.6.1
* Thu Jul 1 2010 Matthew Booth <mbooth@redhat.com> - 0.6.1-1
- Only build virt-v2v on architectures where libguestfs is available
* Mon Jun 21 2010 Matthew Booth <mbooth@redhat.com> - 0.6.1-0
- Update to release 0.6.1
- Disable building of debuginfo