Hi Dominique, Am 16.08.2010 11:24, schrieb Dominique Leuenberger:
On 08/16/2010 at 11:14 AM, Christian
wrote: IMHO ther perl version should be normalized for packaging. 0.22 would be normalized to 0.220.0 (version->new(0.22)->normal) and 0.2002. would be normalized to 0.200.200.
I can adopt cpanspec to do this for newly created packages, but this will only work for perl(version) >= 0.77 (openSuSE >= 1130).
if you consider them 'decimalized', why not simply make it strict on 4 decimals?
0.2000 > 0.2001 > 0.2002 > 0.2200 I know that there would be no problem when the amount of decimals does not change.
And as mentioned before, I think a lot of packagers don't know they are using decimalized versioning. They use 0.xxx and count +1 wise. (no problem with rpm)
I can't just understand why you introduce a 2nd dot after the 3rd decimal. It appears much more difficult to understand that 0.2002 ==> 0.200.200 than it being 0.2002 :)
I do not introduce it. I try to fix versioning problems of perl <-> rpm Please read: http://tinyurl.com/versionnumbers The Author "David Golden" changed the amount of decimals from 2 to 4, which is allowed in perl. And when changing amount of decimals, then "WE" (rpm) will have problems. 0.22 > 0.2002 (in the perl world) 0.22 < 0.2002 (in the rpm world) Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org