r20080 - in /trunk/dh-make-perl: debian/changelog dh-make-perl

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun May 18 14:14:26 UTC 2008


Author: gregoa
Date: Sun May 18 14:14:25 2008
New Revision: 20080

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20080
Log:
Replace "::" with "-" in $perlname in all cases, otherwise the URLs in
debian/watch and debian/control's Homepage field are wrong.

Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/dh-make-perl

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=20080&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Sun May 18 14:14:25 2008
@@ -1,3 +1,10 @@
+dh-make-perl (0.46) UNRELEASED; urgency=low
+
+  * Replace "::" with "-" in $perlname in all cases, otherwise the URLs in
+    debian/watch and debian/control's Homepage field are wrong.
+
+ -- gregor herrmann <gregoa at debian.org>  Sun, 18 May 2008 16:12:47 +0200
+
 dh-make-perl (0.45) unstable; urgency=low
 
   * Fix mangling of long description, which was broken in 0.44; thanks to

Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=20080&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Sun May 18 14:14:25 2008
@@ -452,7 +452,6 @@
     ($perlname, $version) = extract_name_ver();
     find(\&check_for_xs, $maindir);
     $pkgname = lc $perlname;
-    $pkgname =~ s/::/-/;
     $pkgname = 'lib'.$pkgname unless $pkgname =~ /^lib/;
     $pkgname .= '-perl' unless ($pkgname =~ /-perl$/ and $opts{cpan} !~ /::perl$/i);
 
@@ -508,6 +507,7 @@
 	    ($name, $ver) = extract_name_ver_from_makefile($makefile);
 	}
 
+	$name =~ s/::/-/g;
 	return ($name, $ver);
 }
 




More information about the Pkg-perl-cvs-commits mailing list