[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Pre-release versions in CPAN vs. Debian



Andreas J. Koenig wrote:
>         libcrypt-rijndael-perl           1.05.01 > 1.05
>
> An underscore in the version number has a special meaning on CPAN: it
> means this is a developer release not yet ready for production. I
> suppose the above debian package is based on
> BDFOY/Crypt-Rijndael-1.05_01.tar.gz.
>
> You should either not package it at all or make your own version
> numbering in such cases, like maybe 1.05-1

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:

  $ 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
>
> Same here. You seem to take IZUT/Date-Simple-3.03_03.tar.gz although
> it is not yet released in all formality. It's up to your judgement if
> this is the right thing to do. CPAN cannot provide you with metadata
> that help you in this decision.

Same here: 3.03~03, not 3.03.03.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: