[libconfig-model-dpkg-perl] 16/27: copyright: change spaces into dash in license short names
dod at debian.org
dod at debian.org
Mon Jan 12 07:09:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.
commit ff57d1256c82e59a8b3663d72ed557648dbb94d3
Author: Dominique Dumont <dod at debian.org>
Date: Mon Dec 29 15:08:46 2014 +0100
copyright: change spaces into dash in license short names
---
lib/Dpkg/Copyright/Scanner.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index b52ae4c..79e207c 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -81,6 +81,7 @@ sub scan_files {
$l =~ s/^\s*zlib\/libpng$/Zlib/;
$l =~ s/^\s*MIT\/X11 \(BSD like\)$/Expat/;
$l =~ s/^\s*BSD \((\d) clause\)$/BSD-$1-clause/;
+ $l =~ s/\s+/-/g;
$c =~ s/'//g;
$c =~ s/^©\s*//;
$c =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git
More information about the Pkg-perl-cvs-commits
mailing list