r36858 - in /trunk/dh-make-perl: debian/changelog lib/DhMakePerl.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat May 30 17:18:18 UTC 2009
Author: gregoa
Date: Sat May 30 17:18:12 2009
New Revision: 36858
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=36858
Log:
Append "-perl" to the module name when creating the package name
unconditionally (closes: #530675).
Modified:
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/lib/DhMakePerl.pm
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=36858&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Sat May 30 17:18:12 2009
@@ -38,6 +38,8 @@
[ gregor herrmann ]
* Create backup of debian/control in --refresh mode.
+ * Append "-perl" to the module name when creating the package name
+ unconditionally (closes: #530675).
-- gregor herrmann <gregoa at debian.org> Mon, 27 Apr 2009 16:42:59 +0200
Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=36858&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Sat May 30 17:18:12 2009
@@ -650,8 +650,7 @@
find( sub { $self->check_for_xs }, $self->main_dir );
$pkgname = lc $perlname;
$pkgname = 'lib' . $pkgname unless $pkgname =~ /^lib/;
- $pkgname .= '-perl'
- unless ( $pkgname =~ /-perl$/ and $self->cfg->cpan !~ /::perl$/i );
+ $pkgname .= '-perl';
# ensure policy compliant names and versions (from Joeyh)...
$pkgname =~ s/[^-.+a-zA-Z0-9]+/-/g;
More information about the Pkg-perl-cvs-commits
mailing list