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...
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...