[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.74-1-38-g2f6cad6
gregor herrmann
gregoa at debian.org
Sun Jan 1 18:12:52 UTC 2012
The following commit has been merged in the master branch:
commit 5c13b0c79aae68bf2b4f4c4ce1a0b61382a473a3
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jan 1 19:10:39 2012 +0100
t/dists.t: allow multiple years in Copyright line.
"refresh" adds the current year to the years of copyright.
In other words: This was a "New Year's Bug".
diff --git a/t/dists.t b/t/dists.t
index 76d0b70..f13e477 100755
--- a/t/dists.t
+++ b/t/dists.t
@@ -46,12 +46,13 @@ sub compare_tree {
# different copyright years are normal
# (test written in 2002 and run in 2020
+ # after refreshing there can also be several years
if ($hint eq 'email') {
return 0
if $a
- =~ /^Copyright: \d+, Florian Geekwurt <florian\@geekwurt\.org>$/
+ =~ /^Copyright: (\d+, )+Florian Geekwurt <florian\@geekwurt\.org>$/
and $b
- =~ /^Copyright: \d+, Florian Geekwurt <florian\@geekwurt\.org>$/;
+ =~ /^Copyright: (\d+, )+Florian Geekwurt <florian\@geekwurt\.org>$/;
return 0
if $a
=~ /^ \d+, Joe Maintainer <joe\@debian\.org>$/
--
Debian packaging of dh-make-perl
More information about the Pkg-perl-cvs-commits
mailing list