nested lua expansions not supported
Bug #635855 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Triaged
|
Low
|
Unassigned | ||
Fedora |
Fix Released
|
Medium
|
Bug Description
tracker
tags: | added: fedora lua |
Changed in rpm: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: macros |
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
Description of problem:
Nested lua expansions in an RPM spec file don't appear to work. From what I can tell (also by peeking at the RPM sources) the print buffer for lua expansions is not preserved between nested lua invocations.
Version-Release number of selected component (if applicable):
rpm-4.6. 0-1.fc10. x86_64 (also affects F9 rpm)
How reproducible:
Always (see attach spec)
Steps to Reproduce:
1. download the attached spec file
2. rpmbuild --nodeps -bs *.spec
3. rpm -qp --requires *.src.rpm
Actual results:
Expected results:
Additional info:
I guess the workaround is to never nest lua expansions, but it can be tricky if other rpm macros are defined in terms of them...