[pacman-dev] [PATCH] PM_DEP_MOD_LT and PM_DEP_MOD_GT depmods added

Aaron Griffin aaronmgriffin at gmail.com
Wed Dec 19 11:39:55 EST 2007


On Dec 19, 2007 10:11 AM, Travis Willard <travis at archlinux.org> wrote:
>
> On Dec 19, 2007 11:04 AM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> > On Dec 19, 2007 1:24 AM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
> > > Well, I agree, that this will be rarely used (mainly >). So if you can
> > > show me a clean way (not kernel26 provision) to say that "foo depends on
> > > kernel-2.6.x" I will revert this immediately (this was the only reason
> > > for implementing)
> >
> > I thought our version compartors already worked for this case? That
> > is, for foo-1.2.3, doing a depends=(foo>=1.2) will work just fine
>
> I think what he's getting at is he wants a dependency on kernel26
> version 2.6.x for any x.  Saying depends=(kernel26>=2.6) will match
> kernel26 for any version >= 2.6, which is not the same thing, because
> it will match versions 2.7, 2.8, 3.0, and 1000.

Yeah, and I was under the impression that >=2.6.20 would match any of
2.6.20, 2.6.20.1, 2.6.20.7827233, 2.6.20-45, etc

I can't verify right now, but I thought 2.6.20.x was always > 2.6.20 in libalpm




More information about the pacman-dev mailing list