New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: rpmbuild/rpmspec do not expand macros before checking subpackages #672
Comments
Can you provide full spec? |
SPEC will only work with macros-ng enabled and installed:
|
4.13.0.2 works. |
4.14.0 works. |
Interestingly rpm 4.14.2.1 works in a F27 chroot I tested, so the issue might come from somewhere else. |
I've been very stupid and lost much time on this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Golang packaging (Fedora), the -devel subpackages are computed by a Lua macro called gopkg.
In rpm 4.14.2, if I try to rpmbuild the SPEC containing such macros and a scriptlet, I get:
Similarly if I run rpmspec -P on the SPEC, the macros are not expanded:
However in EPEL7, with rpm 4.11.3, it works fine: srpm is built and rpmspec -P expands the macros:
Something has changed between 4.11.3 and 4.14.2 that makes the macros not being expanded.
The text was updated successfully, but these errors were encountered: