[Mageia-dev] Please ensure that packages have higher version than in mandriva 2010.2

Anssi Hannula anssi.hannula at iki.fi
Sun May 1 14:44:20 CEST 2011


On 30.04.2011 23:53, Pascal Terjan wrote:
> On Sat, Apr 30, 2011 at 22:21, Maarten Vanraes
> <maarten.vanraes at gmail.com> wrote:
>> Op zaterdag 30 april 2011 21:42:54 schreef Pascal Terjan:
>>> Here is a list of packages to fix (not including backports yet)
>>>
>>> afio 0:2.5-1.mga1 <= 0:2.5-6mdv2010.0
>>> automake1.7 0:1.7.9-10.mga1 <= 0:1.7.9-10.1mdv2010.1
>> [...]
>>
>> isn't this one actually higher? afaik the matchings come from ascii, and
>> digits are always less than letters? (ie: 1 < m )?
>>
> 
> No this is not ascii
> rpm first compares the numeric part (numbers and dots), then if they
> are equal compares the rest

I think it divides it to groups that contain only numbers or letters
(the string is divided on non-number<=>number and non-letter<=>letter
transitions), with letters considered smaller than numbers:

1 = 1
7 = 7
9 = 9
10 = 10
mga < 1
=> mdv one is bigger

-- 
Anssi Hannula


More information about the Mageia-dev mailing list