Bug 77704

Summary: rpmbuild doesn't like commas in excludearch
Product: [Retired] Red Hat Linux Reporter: Jens Petersen <petersen>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-21 07:44:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2002-11-12 14:21:32 UTC
Description of Problem:
rpmbuild doesn't seem to parse commas in ExcludeArch directives right.

Steps to Reproduce:
1. put "ExcludeArch: arch1, arch2" in a spec file.
2. rpmbuild on arch1
3. 

Actual Results:
I think it build on arch1 (though not on arch2 as expected).

Expected Results:
It shouldn't build on arch1 nor arch2.

Comment 1 Michael Lee Yohe 2002-11-14 18:00:13 UTC
According to http://www.rpm.org/max-rpm/s1-rpm-specref-preamble.html,
ExcludeArch requires the architectures to be delimited by spaces, not commas.

Example -
ExcludeArch: sparc alpha