On Wed, Aug 25, 2010 at 10:42:58AM +0200, Christian wrote:
perl is using a decimalized versioning, where 0.22 > 0.2002, but for rpm it isn't.
That's actually not true:
perl -e 'print "decimal\n" if v0.22 ge v0.2002'
sorry but: perl -e 'print "decimal\n" if 0.22 ge 0.2002'
Maybe, but that's not how perl compares versions: $ cat Foo.pm package Foo; our $VERSION = '0.22'; 1; $ perl -e 'use Foo 0.2002' $ perl -e 'use Foo 0.23' Foo version 0.23 required--this is only version 0.22 at -e line 1. BEGIN failed--compilation aborted at -e line 1. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org