[Rpm-maint] [rpm-software-management/rpm] Implement %elif (issue #311) (#618)
pavlinamv
notifications at github.com
Sat Jan 12 11:57:08 UTC 2019
This is a new version of #613. All suggestions that are in #613 are included or in the discussion is described why they are not included.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/618
-- Commit Summary --
* Refactor variable "match" to have clear meaning
* Consolidate %if condition parsing to one place
* Refactor expression expansion evaluation in parseSpec
* Make "Bad %if condition" error message more informative
* Supported operators: %elif, %elifarch, %elifos.
* Add tests for %elif, %elifos, %elifarch
-- File Changes --
M build/parseSpec.c (81)
M build/rpmbuild_internal.h (11)
M build/spec.c (2)
A tests/data/SPECS/iftest.spec (116)
M tests/rpmmacro.at (103)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/618.patch
https://github.com/rpm-software-management/rpm/pull/618.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/618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190112/db9322ab/attachment.html>
More information about the Rpm-maint
mailing list