Dynamic provides and requires dependency
Orion Poplawski
orion at nwra.com
Sat Dec 23 04:22:47 UTC 2023
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 at nwra.com
Boulder, CO 80301 https://www.nwra.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3826 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20231222/737772ea/attachment-0001.p7s>
More information about the Rpm-list
mailing list