< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [sipX-dev] RPM build, gems not installed?


On Fri, 2009-06-26 at 08:41 -0400, Paul Mossman wrote:

> Something else I notice though.  sipXecs RPMs built out of main
> currently have a version of 4.1.0, but their "Requires" for other
> sipXecs RPMs have ">= 3.11".  Shouldn't they have the same version?
> 
> Could we solve the problem in general in the .spec.in files by using
> @VERSION@ for "Requires" of other sipXecs RPMs?  For example:
> 
>      Version: @VERSION@
>      ...
>      Requires: sipx___ >= @VERSION@

Yes, and I think that's the right thing to do, except I think it's
better rpm 'style' to do:

     Version: @VERSION@
     ...
     Requires: sipx___ >= %version

the first gives the version macro a value, the second uses that value.