[Rpm-maint] [rpm-software-management/rpm] Dynamic Specs File Generation (Discussion #2032)

Demi Marie Obenour notifications at github.com
Fri Apr 22 13:32:33 UTC 2022


I recommend not actually generating spec file fragments, but rather using a Lua API.  Generating text is convenient, but it is also very fragile and tends to break at unexpected times.  Instead, a better approach would be to use Lua to modify the in-memory _representation_ of the spec file, and provide an option to RPM to dump the spec file for debugging.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2032#discussioncomment-2615714
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2032/comments/2615714 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220422/a057f598/attachment.html>


More information about the Rpm-maint mailing list