do copr builds set any copr-specific macros?
msuchy at redhat.com
Thu May 7 07:29:36 UTC 2015
On 05/06/2015 04:22 PM, Rex Dieter wrote:
> Does copr currently set any copr-specific rpm macros?
> I'm asking because I'm currently considering how to enable certain features
> in a .spec based on if it's being built in copr (or not).
> -- rex
Yes, It pass to mockchain:
-m '--define=copr_username USERNAME' -m '--define=copr_projectname
PROJECTNAME' -m '--define=vendor Fedora Project COPR (USERNAME/PROJECTNAME)'
More information about the copr-devel