[Rpm-maint] [rpm-software-management/rpm] Add a rpm_macro() provides generator (#1758)

Dan Čermák notifications at github.com
Tue Jan 25 06:53:55 UTC 2022


@dmnks Done!


@ffesti 
> There is the issue of the macro provide generator for rpm itself. This does not show the internal macros. This is fine for now but we may reconsider in the future.

The script could show internal macros though, the `%dump` macro prints them out prefixed with a `-20` at least if I understand the following code correctly: https://github.com/rpm-software-management/rpm/blob/8763969a4a5f19231c0d851e5d50eff614cf5940/rpmio/rpmmacro.h#L38 

So we could leverage the same functionality further for sure.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1758#issuecomment-1020865763
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1758/c1020865763 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220124/272f8482/attachment.html>


More information about the Rpm-maint mailing list