Bug 822975

Summary: multiple --target option is no longer working
Product: [Fedora] Fedora EPEL Reporter: Levente Farkas <lfarkas>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-07 11:41:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Levente Farkas 2012-05-18 16:40:28 UTC
in the beginning (around 1.1.1) it was possible to use:
 --target i386,i686
this is very useful eg build glibc, openssl etc. on rhel-5 and the same apply to the kernel rpm on rhel-6 (in this case eg: i686,noarch). but it's no longer possible since mock do not install the src.rpm twice which means eg when build glibc which move SOURCE6 from the SOURCES/ dir to the buildroot that the second build will fail.

so either remove the possibility to add multiple target or fix it (ie. rerun the mock process from the beginning.

anyway it's not epel specific it's apply to the fedora package too.

Comment 1 Clark Williams 2012-08-02 02:08:03 UTC
Ok, I checked for multiple arch values in the option parser code and disallow them.

queued for next build.