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 72a8f198162d183ad9fb37c1cf5ae380be27b178
Author: Dominique Dumont <d...@debian.org>
Date:   Fri Mar 20 12:42:48 2015 +0100

    (c) scanner: cleanup "by" and "all rights reserved" from copyrights
---
 lib/Dpkg/Copyright/Scanner.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index 70f63e3..acadfae 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -104,6 +104,8 @@ sub scan_files ( %args ) {
         $c =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;
         $c =~ s/(\d+)\s*-\s*(\d+)/$1-$2/g;
         $c =~ s/\b(\d{4}),?\s+([\S^\d])/$1, $2/g;
+        $c =~ s/\s+by\s+//g;
+        $c =~ s/all\s+rights?\s+reserved//gi;
         $c = 'no-info-found' if $c =~ /^\*No/;
 
         $c =  __pack_copyright($c);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to