d40e209 Query SRPM for requested architectures

11 files Authored by msimacek 6 years ago, Committed by mizdebsk 6 years ago,
    Query SRPM for requested architectures
    
    Recently, Koji started lying about arch of noarch builds of packages
    that have arch exclusions, such as [0] (is noarch, but reports arch=i386).
    This attempts to use data from SRPM headers to determine whether
    a package is noarch and on which architectures it should be built.
    Also skips packages for which the arch list was empty (no allowed arch).
    
    [0] https://koji.fedoraproject.org/koji/taskinfo?taskID=19927957
    
        
file modified
+3 -9
file modified
+51 -9
file modified
+3 -0
file modified
+2 -31
file modified
+70 -4
file modified
+12 -14