From 14a0f95c823dc25d5d3d64b0cfd0d10bef85c659 Mon Sep 17 00:00:00 2001 From: Juerg Haefliger Date: Mon, 8 Apr 2013 07:16:16 -0400 Subject: [PATCH] 3rd attempt to fix the spec file for EPEL builds --- cloud-utils.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cloud-utils.spec b/cloud-utils.spec index c47c19a..5a9db60 100644 --- a/cloud-utils.spec +++ b/cloud-utils.spec @@ -1,7 +1,7 @@ Summary: Cloud image management utilities Name: cloud-utils Version: 0.27 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3 Group: System Environment/Base URL: https://launchpad.net/cloud-utils/trunk/0.27/+download/cloud-utils-0.27.tar.gz @@ -12,8 +12,8 @@ Source1: LICENSE BuildArch: noarch %if 0%{?rhel} -# Only build on x86_64 for EPEL because qemu-img only exists for that arch -ExclusiveArch: noarch x86_64 +# Exclude EPEL architectures that don't have qemu-img +ExcludeArch: i386 ppc64 %endif Requires: gawk @@ -66,6 +66,9 @@ cp man/* $RPM_BUILD_ROOT/%{_mandir}/man1/ %changelog +* Mon Apr 8 2013 Juerg Haefliger - 0.27-3 +- 3rd attempt to fix the spec file to only build on x86_64 for EPEL. + * Tue Apr 5 2013 Juerg Haefliger - 0.27-2 - Yet another spec file fix to only build on x86_64 for EPEL.