Dynamic provides and requires dependency

Sam Varshavchik mrsam at courier-mta.com
Sat Dec 23 01:19:20 UTC 2023


Is there for a way that a package's %build or %install script can generate  
additional Provides: and Requires: dependencies?

Doing some digging, I found the (relatively) recently developed dynamic  
buildrequires, and %generate_buildrequires.

What I'm looking to do is something analogous, but have %build or a %install  
generate additional dependencies to supplement Requires:, Provides:, and the  
automatically-generated dependencies.

I suppose I can override %__find_requires and %__find_provides, and have  
that run my own script first, then the default ones.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20231222/c8fd03a4/attachment.asc>


More information about the Rpm-list mailing list