Re: Dynamic provides and requires dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 23. 12. 23 8:13, Miroslav Suchý wrote:
Dne 23. 12. 23 v 5:22 Orion Poplawski napsal(a):
On 12/22/23 18:19, Sam Varshavchik wrote:
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.

You want this:

And maybe this:

Or maybe this:

Miro Hrončok
Phone: +420777974800
IRC: mhroncok

Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux