[Rpm-maint] [rpm-software-management/rpm] RFE: handle lists/tuples within macro expansions (#503)

Jeff Johnson notifications at github.com
Sun Aug 12 21:52:01 UTC 2018


Get a copy of RPM5 rpmio/macro.c (the cvs is browsable at http://rpm5.org even if the interface is clunky).

Look for "stackarray", the variable that controls the functionality.
There are basically 3 uses:
1) initialize to zero
2) set by parsing/detecting a %{M:S} construct
3) if stackarray is set, then call expandFIFO() to convert a stack to a list

The locations to add that code in RPM4 should be obvious ... let me check.





-- 
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/issues/503#issuecomment-412374296
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180812/4ef0e11f/attachment.html>


More information about the Rpm-maint mailing list