[Rpm-maint] [rpm-software-management/rpm] Add new rpmExpandThisMacro() public method (#1414)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Tue Oct 27 11:53:15 UTC 2020


> > spectool was rewritten to use RPM Python bindings, so I imagine at least it would matter for that tool.
> 
> Hardly. There's precisely _one_ rpm.expandMacro() in the entire new spectool code, and that doesn't involve parametric macros or anything else advanced, it's merely to expand %_sourcedir.

That's true, however, it is reasonable to assume that other programs written in Python would need to do this, especially as parametric macros become more common. RPMLint does this in some places too. _I've_ written code to use `rpm.expandMacro()` for personal tools too...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1414#issuecomment-717191415
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201027/b674966d/attachment.html>


More information about the Rpm-maint mailing list