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

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



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

Attachment: pgpdxkoL6HSBu.pgp
Description: PGP signature


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