jib / cpanplus-devel

11 stars 10 forks source link

Fix for RT #69384 #1

Closed jeroenl closed 12 years ago

jeroenl commented 13 years ago

CPANPLUS does not parse v-strings (v1.2.3) in dependencies

I was testing File-Pairtree-v0.302.0 a few weeks back, and got the following output:

Warning: prerequisite File::Namaste v0.260.0 not found.
Warning: prerequisite File::OM 0.21 not found.
Warning: prerequisite File::Value v0.250.0 not found.
Writing Makefile for File::Pairtree
[MSG] Module 'File::Pairtree' requires 'File::Namaste' version '0.0' to be installed
[MSG] Module 'File::Pairtree' requires 'File::OM' version '0.21' to be installed
[MSG] Module 'File::Pairtree' requires 'File::Value' version '0.0' to be installed

CPANPLUS is not parsing the versions for File::Namaste and File::Value. The result is that CPANPLUS will not upgrade these prerequisites, if an older version exists.

I've changed the version code to use the version module in these cases.

See: https://rt.cpan.org/Public/Bug/Display.html?id=69384

bingos commented 12 years ago

I integrated this a few releases back.

Thanks.