diff --git a/Changes b/Changes index 0f4c6a5..685d165 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ 1.66 * Fix $summary modification. +* Strip leading [Vv]\.? from spec Version. 1.65 2006-04-26 diff --git a/cpanspec b/cpanspec index 2dca0a5..a6455c5 100755 --- a/cpanspec +++ b/cpanspec @@ -10,7 +10,7 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: cpanspec,v 1.23 2006/05/04 16:18:17 stevenpritchard Exp $ +# $Id: cpanspec,v 1.24 2006/05/05 22:01:04 stevenpritchard Exp $ our $NAME="cpanspec"; our $VERSION='1.66'; @@ -782,9 +782,11 @@ for my $file (@ARGV) { } } + my $packageversion=$version; + $packageversion=~s/^v\.?(\d)/$1/i; print $spec <