Is there a macro available that evaluates to TRUE/1 when building in COPR?
Thanks, Richard
Dne 04. 12. 19 v 15:23 Richard Shaw napsal(a):
Is there a macro available that evaluates to TRUE/1 when building in COPR?
There are defined: %copr_username %copr_projectname macros. They are set to user name and to project name.
On Wed, Dec 4, 2019 at 8:43 AM Miroslav Suchý msuchy@redhat.com wrote:
Dne 04. 12. 19 v 15:23 Richard Shaw napsal(a):
Is there a macro available that evaluates to TRUE/1 when building in
COPR?
There are defined: %copr_username %copr_projectname macros. They are set to user name and to project name.
That'll work, I can just test for existence but a simple %copr would be nice and clean :)
Thanks, Richard
On Wednesday, December 4, 2019 3:43:27 PM CET Miroslav Suchý wrote:
Dne 04. 12. 19 v 15:23 Richard Shaw napsal(a):
Is there a macro available that evaluates to TRUE/1 when building in COPR?
There are defined: %copr_username %copr_projectname macros. They are set to user name and to project name.
These two were supposed to be added tomorrow, with the new release. But I now noticed I mistakenly tagged the updated copr-rpmbuild to production... so yes, these should be usable even now (or once all the VMs get re-spawned).
Pavel
copr-devel@lists.fedorahosted.org