-=| Julian Mehnle, Wed, Jan 23, 2008 at 10:26:23AM +0000 |=-
> Given that CPAN treats 1.05_01 as being LOWER than 1.05 (sort of a release
> candidate for 1.05), the Debian equivalent would rather be 1.05~01:
CPAN maybe, but its contributors - I am not sure :)
> $ dpkg --compare-versions 1.05~01 lt 1.05 && echo OK || echo NOK
> OK
> $ dpkg --compare-versions 1.05.01 lt 1.05 && echo OK || echo NOK
> NOK
>
> > libdate-simple-perl 3.03.03 > 3.02
OK, Date-Simple's author really considers 3.03_03 as a third pre-release
of 3.03. This complies with your approach to use ~ instead of _.
However, take a look at Crypt-Rijndael's changelog[1]
1.05_01 - Tue Nov 20 07:59:26 2007
* Updated rijndael.h to handle Mac OS X Panther.
* No need to upgrade if you already have this installed.
1.05 - Fri Nov 9 05:39:09 2007
* This version fixes the signed integer problems that Solaris had.
* Now this module requires perl 5.6.
* You don't need to upgrade if your system isn't Solaris.
Here 1.05_01 is clearly *later* than 1.05.
Any ideas how to handle both cases?
--
dam JabberID: dam@jabber.minus273.org
Attachment:
signature.asc
Description: Digital signature