[devel] gb-task-repo-vercheck (vercheck): Use rpmevrcmp

Dmitry V. Levin =?iso-8859-1?q?ldv_=CE=C1_altlinux=2Eorg?=
Вс Мар 1 01:37:56 MSK 2009


On Sat, Feb 28, 2009 at 05:17:25PM +0300, Alexey Tourbin wrote:
> On Tue, Feb 17, 2009 at 02:29:39AM +0300, Dmitry V. Levin wrote:
> > On Mon, Feb 16, 2009 at 04:05:08PM +0300, Alexey Tourbin wrote:
> > > On Mon, Feb 16, 2009 at 03:23:12PM +0300, Dmitry V. Levin wrote:
> > > > On Mon, Feb 16, 2009 at 11:16:51AM +0300, Alexey Tourbin wrote:
> > > > [...]
> > > > > 0:1.0-alt1 cmp 1.0-alt2 should yield 1.
> > > > 
> > > > Why?
> > > > 
> > > > > Zero serial is greater than no serial.
> > > > 
> > > > Why?
> > > 
> > > This is because how rpm-4.0 works.
> > > 
> > > lib/psm.c:
> > >     72  int rpmVersionCompare(Header first, Header second)
> > 
> > If rpmVersionCompare() works this way, why rpmEVRcmp() doesn't work the
> > same way?
> 
> That's because rpmEVRcmp() is botched.

Let's fix it, that should be easy change.


-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 197 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20090301/c316f5d0/attachment.bin>


Подробная информация о списке рассылки Devel