Supports the same expressions as spec %if conditions because, only this returns 
the result as a string instead of a boolean.

This obviously *screams* to be wired into macro conditional syntax, but that's 
left as an exercise for later.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Resurrect parseExpressionString()
  * Export the expression parsing functions and move to librpmio
  * Add %{expr:...} macro for parsing expressions

-- File Changes --

    M build/Makefile.am (2)
    M build/parseSpec.c (2)
    M build/rpmbuild_internal.h (8)
    M doc/manual/macros (1)
    M rpmio/Makefile.am (2)
    R rpmio/expression.c (48)
    M rpmio/macro.c (5)
    M rpmio/rpmmacro.h (15)
    M tests/rpmmacro.at (21)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/817.patch
https://github.com/rpm-software-management/rpm/pull/817.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/817
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to