On Mon, 2021-11-29 at 15:08 +0100, Vitaly Zaitsev via devel wrote:
> On 29/11/2021 14:57, Jun Aruga wrote:
> > Did you find a better alternative syntax?
>
> Now I'm using the following:
>
> %global enable_foo 1
>
> %if %{enable_foo}
> ...
> %endif
I use %bcond , with %bcond we can manipulate mock builds with --with ou
--without .
In my opinion the most confuse of %bcond is not have %without tag . I
think that is address here :
https://github.com/rpm-software-management/rpm/pull/1520
Thank you,
> --
> Sincerely,
> Vitaly Zaitsev ([email protected])
> _______________________________________________
> devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure
--
Sérgio M. B.
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure