[Rpm-maint] [rpm-software-management/rpm] Parse multiline conditional and %include parameters correctly (#775) (#778)

pavlinamv notifications at github.com
Mon Jul 1 11:18:10 UTC 2019

Trailing '\' after multiline conditionals or %include will be trimmed.
After the patch lines like:

    %if 1 && ( 2 || \
    3 )

will be parsed correctly. The other lines stay unchanged.
A test is added.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Parse multiline conditional and %include parameters correctly (#775)

-- File Changes --

    M build/parseSpec.c (25)
    M tests/Makefile.am (1)
    A tests/data/SPECS/ifmultiline.spec (28)
    M tests/rpmmacro.at (12)

-- 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/20190701/aad85c13/attachment-0001.html>

More information about the Rpm-maint mailing list