Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 60526
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: MORITZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.3603
Fixed in: (no value)



Subject: adds a 'v' to the version number in the tar file name
http://search.cpan.org/CPAN/authors/id/M/MO/MORITZ/Math-Expression-Evaluator-v0.3.2.tar.gz was generated with ./Build dist and I think that the 'v' in the version number in the file name shouldn't be there. The version is declared as our $VERSION = '0.3.2'; in the .pm file, and the call to Module::Build->new contains the line dist_version_from => 'lib/Math/Expression/Evaluator.pm', At least I don't see why this should produce a 'v' anywhere. Cheers, Moritz
On Thu Aug 19 12:10:07 2010, MORITZ wrote: Show quoted text
> At least I don't see why this should produce a 'v' anywhere.
This change was by design to ensure that generated version numbers are consistent with best practices. It was debated and resolved over a year ago. Dotted-decimals should have a leading "v" and at least three components. This has been formalized in the CPAN Meta Spec version 2 and M::B is consistent with this standard when possible. You can set your version string manually with 'dist_version' and it will not be normalized. I'm closing this ticket as the behavior is not going to be changed. -- David