[SCM] Debian package checker branch, master, updated. 2.5.12-94-gf9f1b3e
The following commit has been merged in the master branch:
commit f9f1b3e4e27d1639871db17d78fe9e6914578250
Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date: Sun May 19 13:46:55 2013 +0200
Allow break at hyphen for detection of gfdl
front-cover could be written as front-\ncover. Allow it.
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/cruft b/checks/cruft
index 6391e96..d378988 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -498,8 +498,8 @@ sub find_cruft {
# explicitly states it has no "bad sections".
given($+{gfdlsections}) {
when(m/no $s+ Invariant $s+ Sections?,?
- $s+ (?:with$s+)? (?:the$s+)? no $s+ Front-Cover $s+ Texts?,? $s+ (?:and$s+)?
- (?:with$s+)? (?:the$s+)? no $s+ Back-Cover $s+ Texts?/xiso) {
+ $s+ (?:with$s+)? (?:the$s+)? no $s+ Front-$s*Cover $s+ Texts?,? $s+ (?:and$s+)?
+ (?:with$s+)? (?:the$s+)? no $s+ Back-$s*Cover $s+ Texts?/xiso) {
# no invariant
}
when(m/no $s+ Invariant $s+ Sections?,?
diff --git a/t/tests/cruft-gfdl-fp-sliding-win/debian/src/normal.texi b/t/tests/cruft-gfdl-invariants/debian/src/normalwithbreakathyphen.texi
similarity index 64%
copy from t/tests/cruft-gfdl-fp-sliding-win/debian/src/normal.texi
copy to t/tests/cruft-gfdl-invariants/debian/src/normalwithbreakathyphen.texi
index d9c1b54..22ae575 100644
--- a/t/tests/cruft-gfdl-fp-sliding-win/debian/src/normal.texi
+++ b/t/tests/cruft-gfdl-invariants/debian/src/normalwithbreakathyphen.texi
@@ -1,6 +1,8 @@
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
version 1.3 or any later version published by the Free Software
-Foundation; with no Invariant Sections, no Front-Cover Texts and
-no Back-Cover Texts. A copy of the license is included in the
+Foundation; with no Invariant Sections, no Front-
+Cover Texts and
+no Back-
+Cover Texts. A copy of the license is included in the
section entitled "GNU Free Documentation License".
--
Debian package checker
Reply to: