[Rpm-maint] [rpm-software-management/rpm] Unify builtin and user-defined parametric macro calling syntax (#1434)

Panu Matilainen notifications at github.com
Thu Nov 12 10:53:55 UTC 2020


Accept both %{foo:arg} and %{foo arg} notation for both builtins
and user-defined parametric macros, the former only ever has one
argument whereas the latter can have multiple.

"parse" type builtins such as %define are trickier and only work with
traditional syntax for now.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1434

-- Commit Summary --

  * Unify builtin and user-defined parametric macro calling syntax

-- File Changes --

    M rpmio/macro.c (83)
    M tests/rpmmacro.at (22)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1434.patch
https://github.com/rpm-software-management/rpm/pull/1434.diff

-- 
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/pull/1434
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201112/027f435a/attachment.html>


More information about the Rpm-maint mailing list