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

Florian Festi notifications at github.com
Mon Jan 24 13:27:01 UTC 2022


Discussing this in the RPM team we came up with the follwing:

While calling rpm from rpm is a problem in most cases this rational should not apply here. We are calling rpm from rpmbuild and there are no running transactions involved which is typically what messes this kind of thing up.

This feature in combination with the new BuildRequires generators might allow to automatically install packages with macro files during build. There are probably a few more cogs needed but this shouldn't be that much off.

There are a lot of macros that should not end up in the Provides. We should at least filter out the ones with double underscore at the beginning (patch will be adjusted before merging). In the medium term may be more macros should be marked as internal that way.

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.

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

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


More information about the Rpm-maint mailing list