[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 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 mattdm org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


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