3d205c4 Fix handling of --arch param when a target is specified

1 file Authored by tmlcoch 9 years ago, Committed by mikem 9 years ago,
1 file changed. 1 lines added. 0 lines removed.
    Fix handling of --arch param when a target is specified
    
    Without this patch mock-config ignores --arch option
    and generates invalid mock config files which contain
    incorrect statements like:
    
    config_optstarget_arch? = None config_optsyum.conf? = '..SNIP..baseurl=URL_WITH_ARCH_NONE..SNIP..'
    
    Resolves:
    * https://fedorahosted.org/koji/ticket/301
    * https://bugzilla.redhat.com/show_bug.cgi?id=1248368
    * https://bugzilla.redhat.com/show_bug.cgi?id=1161610
    
    Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
    
        
file modified
+1 -0