[Rpm-maint] [rpm-software-management/rpm] Support new %[ ] expression expansion syntax (#846)

Michael Schroeder notifications at github.com
Wed Sep 18 13:37:39 UTC 2019

This adds %[ expr ] as a new means to do expression expansion in rpm. Unlike %{expr:} the expression is expanded in the parser, so we are safe against expansion results messing up the syntax and also can to short-circuiting.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Add findMacroEnd() function to find the end of a macro call
  * Add support for primary expansion to the expression parser

-- File Changes --

    M build/parseSpec.c (2)
    M rpmio/Makefile.am (2)
    M rpmio/expression.c (73)
    M rpmio/macro.c (130)
    M rpmio/rpmmacro.h (9)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190918/9c0f5069/attachment-0001.html>

More information about the Rpm-maint mailing list