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:

https://rpm-software-management.github.io/rpm/manual/dependency_generators.html


And maybe this:

https://rpm-software-management.github.io/rpm/manual/dynamic_specs.html

Or maybe this:

https://src.fedoraproject.org/rpms/rpm-local-generator-support

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-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