Is it possible to dynamize "requires" at RPM build time?
Matthew Miller
mattdm at mattdm.org
Wed Aug 23 01:08:01 UTC 2006
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, but it shouldn't be necessary. Does the library you're linking against
have issues with a broken soname?
--
Matthew Miller mattdm at mattdm.org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
More information about the fedora-devel-list
mailing list