[SCM] Debian package checker branch, master, updated. 2.1.3-45-g2209841
The following commit has been merged in the master branch:
commit 1e85b7c6c184ef87b3ee27d57f706727d5258558
Author: Russ Allbery <rra@debian.org>
Date: Tue Dec 30 17:51:02 2008 -0800
Don't require a space after ; in changelogs
Modify the regex matching the first line of a changelog for the NMU check
to not require a space after ;. This only matters in pathological cases,
but dpkg-buildpackage accepts a changelog without the space.
diff --git a/checks/nmu b/checks/nmu
index e2f1b69..5122869 100644
--- a/checks/nmu
+++ b/checks/nmu
@@ -46,7 +46,7 @@ if (-l "debfiles/changelog") {
open (CHANGELOG, '<', "debfiles/changelog")
or fail("Failed opening changelog");
-$distribution = $1 if (<CHANGELOG> =~ /^.* \(.*\) (.*); .*$/);
+$distribution = $1 if (<CHANGELOG> =~ /^.* \(.*\) (.*);.*$/);
my $firstline = 1;
while (<CHANGELOG>) {
if ($firstline) {
--
Debian package checker
Reply to: