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

Jesse Keating jkeating at redhat.com
Wed Aug 23 02:49:14 UTC 2006


On Tuesday 22 August 2006 17:40, Kai Engert wrote:
> 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?

rpmbuild does an ldd on binaries and objdump on libraries to see what things 
they need, and automatically add Requires for the libs and such that are 
needed.  Is there some reason why this isn't working for you?  When building, 
make sure your libraries have execute permissions on them so that rpmbuild 
can automagically figure out the Requires.

-- 
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20060822/96f77337/attachment-0002.bin 


More information about the devel mailing list