frostyx / copr / copr

Forked from copr/copr 7 years ago
Clone

d54d3cd rpmbuild: define copr-specific macros also for SRPM builds

Authored and Committed by frostyx 2 years ago
    rpmbuild: define copr-specific macros also for SRPM builds
    
    Fix #2094
    
    I am also trying to unify the macros for all methods. Ideally, we
    would run every provider within Mock and have just one way of defining
    macros but that's not a small change.
    
    Instead, I picked all the custom macros and moved them to one
    function. It is still up to the providers/builders how the macros will
    be defined (using --define, generating ~/.rpmmacros, etc) but the list
    of the macros and their values are always the same.
    
        
file modified
+9 -7
file modified
+3 -5
file modified
+17 -2
file modified
+7 -2
file modified
+1 -3
file modified
+4 -2