[Rpm-maint] [rpm-software-management/rpm] RFE/RFC add support for %{yaml: } (#583)

Panu Matilainen notifications at github.com
Tue Mar 5 09:47:29 UTC 2019


> Please add a %{yaml: }' mode with a default mapping to rpm Tags and variable names, that allows declaring all the variable and Tag lists before %prep with a modern syntax without all the quirks of the historical rpm syntax.
[...]
> So no, I'm definitely not asking for a new spec-wide input build recipe format, I'm asking for an alternative clean and regular way to express variables and their scope. Optional way that can be mixed and matched with existing syntax like lua has been progressively added to specs

You're asking to have your cake and eat it too. Sorry, that's just not possible.

The quirks are an inseparable part of how the spec parser works, you can't just magically throw in a section that is somehow quirk-free but does all the same things. You need a new spec syntax that is actually designed that way instead of implementation driven.

You mention %{lua:..} in specs as something good and nice, but it's actually one giant quirk in itself.

-- 
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/583#issuecomment-469613106
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190305/1b86f9f8/attachment.html>


More information about the Rpm-maint mailing list