On Mon, Apr 27, 2020 at 1:24 PM Neal Gompa <ngompa13(a)gmail.com> wrote:
On Mon, Apr 27, 2020 at 7:21 AM Petr Šabata <contyk(a)redhat.com> wrote:
>
> Based on the recent discussions around %fedora/%rhel macros and ELN,
> and %bcond generally being confusing to work with, I came up with a
> distribution-wide feature that defines generic feature keywords and
> associated helper macros that packages can check in build-time
> conditionals.
>
> The key advantage here is the defaults are defined by the buildroot,
> not the package. The package is just a building block.
>
> I'd like some input to improve this and unless this turns out to be a
> really bad idea, I intend to submit it as a change proposal. Even
> though the more packages use it the more beneficial it gets, it's, of
> course, perfectly optional.
>
> Details in the gist:
>
https://gist.github.com/contyk/0aaaaf0585c57976ca18a293b3566408
>
This looks pretty good! Have you considered submitting it into
upstream RPM so that we don't wind up having so many catch-22s with
its usability, though?
That would be an option, even though it would have to work somehow
differently, I presume.
P