[Rpm-maint] [rpm-software-management/rpm] RFE: add command line option to rpmbuild that exit with error when SPEC file has unexpanded macro (Issue #2488)
Panu Matilainen
notifications at github.com
Mon Aug 28 06:30:37 UTC 2023
Catching unexpanded macros from the preamble would be one thing, but doing that for scriptlet sections is an entirely different matter, because the content in those sections is shell script rather than something rpm understands. So we don't know whether a % in a scriptlet is a legit literal % in a shell script content or an unexpanded macro, because ... rpm has always let the unexpanded macros through as-is. Fixing *that* seems like a pre-requisite for this, and it's something that would need to be eased in gradually, along with some clear-cut rules such as non-macro % needs to be escaped everywhere in the spec.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2488#issuecomment-1695097075
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2488/1695097075 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230827/3756eae2/attachment.html>
More information about the Rpm-maint
mailing list