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

Re: dh-make-perl.git commit



On 26 February 2013 14:10, Damyan Ivanov <dmn@debian.org> wrote:
Hi,

>> For example:
>> I have module version 0.05 and this code converts it to 0.5.
>
> Yes. 0.05 and 0.5 are exactly the same for dpkg:
>
>  $ dpkg --compare-versions 0.5 eq 0.05 && echo equal
>  equal

Ahh. Ok.

My situation:
I have a Perl module with version 0.05.
https://metacpan.org/module/File::Object

Version number is ok, see information about Perl versioning.
* perlmodstyle(1) - Version numbering
* Module::Version
* Perl::Version

Perl version 0.5 is greater than 0.05.
> ./perl_version_comparison.pl 0.5 0.05
'0.5' > '0.05'
see script in attachment.

This means, that we don't convert "0.5 > 0.05" Perl version to "0.5 ==
0.05" Debian versions.
Ok?

M.

Attachment: perl_version_comparison.pl
Description: Binary data


Reply to: