[pacman-dev] vercomp test - Was: [GIT] The official pacman repository branch, master, updated. v3.1.4-182-gb48f703

Xavier shiningxc at gmail.com
Fri May 30 07:59:53 EDT 2008

On Fri, May 30, 2008 at 6:59 AM, Dan McGee <dpmcgee at gmail.com> wrote:
> Yes, quite sure. First off, we have the old behavior, which matches
> the above. Second, we have the reason for the old behavior, which is
> that a depend can be specified as such:
> foobar<=1.5
> and foobar 1.5-13 needs to meet this requirement (aka 1.5 cmp 1.5-13
> should yield 0). So a pkgrel is no sign of being newer, only a sign of
> something different to compare, and not to be compared until the
> versions are identical.

That is all correct, but to be honest, I don't like much the
ambiguity, obscurity and confusion caused by this, which would not
happen if we only used versioned deps like : foobar <= 1.5-1 or foobar
< 1.6-1

More information about the pacman-dev mailing list