Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Automatic (sub)package generators (#329)

2020-05-29 Thread Dan Čermák
cc: @scarabeusiv @darix @coolo This could be relevant for subpackage generation for Ruby and Python in openSUSE/SLE. -- 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/issues/329#i

Re: [Rpm-maint] [rpm-software-management/rpm] Dynamic Spec generation (#1485)

2021-01-14 Thread Dan Čermák
This looks intriguing! Do I understand it correctly that you'd essentially do a `my_spec_generator > %_builddir/__rpm/subpac.spec` which would e.g. contain a new subpackage definition? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

[Rpm-maint] [rpm-software-management/rpm] Reconsider GPG key loading from %_keyringpath (#1543)

2021-02-17 Thread Dan Čermák
At the moment rpm will load keys from a pre-defined directory (`%{_keyringpath}`) and **only** if no keys are found there, will it try to load keys from the rpmdb: https://github.com/rpm-software-management/rpm/blob/1efe530450b5bdbd90128327be56c87fa1b6843b/lib/rpmts.c#L382 This is a bit unfortu

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

2021-08-18 Thread Dan Čermák
This commit adds a very simple provides generator for rpm macros as suggested on the Fedora packaging mailing list: https://lists.fedoraproject.org/archives/list/packag...@lists.fedoraproject.org/thread/DUFER7QAFYIBYDANJQQ37FBNL5YISZQ2/ cc @hroncok @Conan-Kudo You can view, comment on, or merge

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

2021-08-18 Thread Dan Čermák
@dcermak pushed 1 commit. bcbfcc5489ee821d16735576e0511e671363051e Add a rpm_macro() provides generator -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/1758/files/bcfe13bb0becaf76cf37f7d7f3113641399692a

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

2021-08-18 Thread Dan Čermák
> I'd imagine a parametric generator in Lua would work nicely for this > :thinking: I must confess that I have absolutely no experience with these, so I'm afraid I won't be of much help with that. -- You are receiving this because you are subscribed to this thread. Reply to this email directl

[Rpm-maint] [rpm-software-management/rpm] rpm generators only run when either a magic or path rule is set (Issue #2951)

2024-03-08 Thread Dan Čermák
`static int matches` from `rpmfc.c` implies that rpm provides & requires generators only run when either `__NAME_magic` or `__NAME_path` is set: https://github.com/rpm-software-management/rpm/blob/3ad98187cc64a88d2d31d181d10bef5eef6274b7/build/rpmfc.c#L794 Yet, the documentation https://rpm-sof