[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 )
%endif
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:
https://github.com/rpm-software-management/rpm/pull/778
-- 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 --
https://github.com/rpm-software-management/rpm/pull/778.patch
https://github.com/rpm-software-management/rpm/pull/778.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/778
-------------- 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