[Rpm-maint] [rpm-software-management/rpm] RFE: Syntax sugar for bconds with inherited defaults (#941)

Petr Viktorin notifications at github.com
Tue Feb 11 15:41:01 UTC 2020


My old suggestion was `%bcond <name> <default>`, with numeric "default" (zero for false).
Aside from "inheritance", it might be used instead of `%bcond_with`/`%bcond_without`. (Whenever I try to choose one, I have to stop and think which one will give me the right default. I don't think I'm alone in that.)
```
%bcond some_thing 0
%bcond some_inherited_thing %{with some_thing}
%bcond some_antiinherited_thing %{without some_thing}
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/941#issuecomment-584697721
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200211/e5ec5552/attachment.html>


More information about the Rpm-maint mailing list