Bug#571632: dh-make-perl: META.yml dependency numbers with > or >= breaks the control

Damyan Ivanov dmn at debian.org
Tue Mar 2 10:30:21 UTC 2010


-=| Jozef Kutej, Fri, Feb 26, 2010 at 05:23:48PM +0100 |=-
> some META.yml files contains > or >= in front of the version 
> numbers. for example:
> 
> http://cpansearch.perl.org/src/JPEACOCK/version-0.80/META.yml
> 
> The fast work around would be to clean up the version numbers from 
> non-version characters:
> 
> +    # clean-up module versions from non-version characters
> +    foreach my $module_name (keys %{$deps}) {
> +        $deps->{$module_name} =~ s/[^_.0-9]//g;
> +    }

It is not so easy. See 
http://github.com/dagolden/cpan-meta-spec/blob/master/META-spec.pod#VERSION_NUMBERS 
(and 'Version Specifications').
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100302/44b673a0/attachment.pgp>


More information about the pkg-perl-maintainers mailing list