Bug#530675: dh-make-perl: uninit warning building cpan libintl-perl

gregor herrmann gregoa at debian.org
Sat May 30 17:17:51 UTC 2009


On Wed, 27 May 2009 12:18:28 +0300, Damyan Ivanov wrote:

>     ( $perlname, $version ) = $self->extract_name_ver();
>     $pkgname = lc $perlname;
>     $pkgname = 'lib' . $pkgname unless $pkgname =~ /^lib/;
>     $pkgname .= '-perl'
>         unless ( $pkgname =~ /-perl$/
>             and $self->cfg->cpan !~ /::perl$/i );
[..]
> The package name is derived from distribution name anyway, not from 
> --cpan argument directly and the code seems to trust --cpan argument 
> more than the upstream contents. I think that the while condition 
> shall be dropped, i.e.
>     $pkgname .= '-perl';
> How does this sound?

I just looked into this issue again; and I agree with your proposal,
I don't see any reason to not add -perl.

Committed to svn.

(The only disadvantage when testing with libintl-perl-1.18 is that
the existing libintl-perl package is not found anymore since it's
named libintl-perl-perl now.)

Cheers,
gregor
 
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Element Of Crime: Die Hoffnung Die Du Bringst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090530/c69c57e7/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list