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

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


Damian wrote:
...
> >    Error: Missing Dependency: java-sun >= 1.5 is needed by package
> > sipxbridge-4.1.0-015845.i386 (/sipxbridge-4.1.0-015845.i386)
> >    Error: Missing Dependency: java-sun >= 1.6 is needed by package
> > sipxcommons-4.1.0-015845.i386 (/sipxcommons-4.1.0-015845.i386)
> >    Error: Missing Dependency: java-sun >= 1.5 is needed by package
> > sipxivr-4.1.0-015845.i386 (/sipxivr-4.1.0-015845.i386)
> >    Error: Missing Dependency: java-sun >= 1.5 is needed by package
> > sipxpage-4.1.0-015845.i386 (/sipxpage-4.1.0-015845.i386)
> >    Error: Missing Dependency: java-sun >= 1.6 is needed by package
> > sipxconfig-4.1.0-015845.i386 (/sipxconfig-4.1.0-015845.i386)
> >     
> 
> I can really talk only about sipXconfig. I think that we 
> should just use 'java' instead of 'java-sun' dependency there.

OK, that will work.


> I would be also OK with keeping java dependency in sipxcommons 
> only and having all other RPMs depend on sipxcommons.

That sounds nice and clean.  I'll do that, unless I hear otherwise from
sipXcommons, sipXbridge, sipXivr, or sipXpage owners.


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@


Thanks.


-Paul
paul.mossman@xxxxxxxxxx