[SCM] Debian package checker branch, master, updated. 2.5.11-14-ged017af
The following commit has been merged in the master branch:
commit ed017af0c36ada333535d9afd7b3dbc4166279b6
Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date: Thu Dec 20 08:54:32 2012 +0100
c/cruft: Use a capture group in GFDL check
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/cruft b/checks/cruft
index 9c6d353..5dd0153 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -447,11 +447,11 @@ sub find_cruft {
# if the "redeeming" part is in the next block.
#
# See cruft-gfdl-fp-sliding-win for the test case.
- if ($block =~m/GNU \s+ Free \s+ Documentation \s+ License .{0,1024}
+ if ($block =~m/GNU \s+ Free \s+ Documentation \s+ License (.{0,1024})
A \s+ copy \s+ of \s+ the \s+ license \s+ is \s+ included/xis) {
# GFDL license, assume it is bad unless it
# explicitly states it has no "bad sections".
- unless ($block =~m/with \s+ no \s+ Invariant \s+ Sections,?
+ unless ($1 =~m/with \s+ no \s+ Invariant \s+ Sections,?
\s+ no \s+ Front-Cover \s+ Texts,? \s+ and
\s+ no \s+ Back-Cover \s+ Texts/xis) {
tag 'license-problem-gfdl-invariants', $name;
--
Debian package checker
Reply to: