Is it possible to dynamize "requires" at RPM build time?

Kai Engert kengert at redhat.com
Wed Aug 23 01:28:11 UTC 2006


Matthew Miller wrote:
> On Tue, Aug 22, 2006 at 11:40:55PM +0200, Kai Engert wrote:
>   
>> A "Requires:" entry in a SPEC file may define the smallest library 
>> version acceptable for the resulting RPM package.
>> Is it possible by some SPEC logic, to make a "Requires:" entry dynamic?
>> In other words, is it possible, at RPM build time, to query the 
>> installed library release in the build environment, and have the 
>> produced RPM be dependent on >= that library version?
>>     
>
> Yes, 
How would you do that?
Thanks in advance for explaining.

> but it shouldn't be necessary. Does the library you're linking against
> have issues with a broken soname?
>   
I'll write a follow up post that describes why I consider it.

Thanks,
Kai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3248 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20060823/a4231e18/attachment.bin>


More information about the fedora-devel-list mailing list