7b5e9d9 only pass in a target arch to local builds when specified on the command line

Authored and Committed by ausil 13 years ago
    only pass in a target arch to local builds when specified on the command line
    some arches notably x86, arm and sparc dont build for the base arch
    you end up with .i386 .arm or .sparc rpms when you really want something else
    
    we trust here that the host rpms macros are set correctly. which is
    redhat-rpm-config is installed they are and its a dep for us so we can trust it.
    
        
file modified
+3 -5