Bug#664150: dh-make-perl: Fails to parse "perl_5" in META.json as a license
gregor herrmann
gregoa at debian.org
Fri Mar 16 19:50:45 UTC 2012
On Fri, 16 Mar 2012 12:01:28 +0100, Per Carlson wrote:
> > Seems like it stumbles over the array;
> > if ( $self->meta->{license} and $self->meta->{license} ~~ /perl/i
> > works in this case (lib/DhMakePerl/Command/Packaging.pm, line 1065).
> It stumbles on other licenses as well.
Right, so far it checked $self->meta->{license} only for perl.
> According to CPAN::Meta:Spec
> the licenses attribute is always an array, and might contain more than
> one license:
Ah, great. Seems we were not really up to date :)
> I've attached a patch to treat $self->meta->{license} as an ARRAY and
> loop over it. While on it, I did also add support for some other
> licenses as well (beyond 'perl').
Cool, thanks alot!
I've applied your patch in git, it will be in the next upload.
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Josh With: Greenville Sheik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120316/c23df582/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list