Re: Dynamic provides and requires dependency

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

 



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


--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
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