--- Begin Message ---
Package: lintian
Version: 2.5.10.2
Severity: normal
control: tags -1 + patch
autogen trip the gfdl check because the author use some with to the standard text:
with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
instead of :
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Fix it
From 87015ea2d36dd5a9ed0246ef7ace16f7901f0ad4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien@gmail.com>
Date: Sun, 30 Dec 2012 19:14:05 +0100
Subject: [PATCH] Add more variant for good text
autogen is known to use the following good formulation:
"with no Invariant Sections, with no Front-Cover Texts,
and with no Back-Cover Texts"
Allow it and avoid a false positive
---
checks/cruft | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/cruft b/checks/cruft
index 5dd0153..be04906 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -452,8 +452,8 @@ sub find_cruft {
# GFDL license, assume it is bad unless it
# explicitly states it has no "bad 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) {
+ \s+ (?:with\s+)? no \s+ Front-Cover \s+ Texts,? \s+ and
+ \s+ (?:with\s+)? no \s+ Back-Cover \s+ Texts/xis) {
tag 'license-problem-gfdl-invariants', $name;
$licenseproblemhash{'gfdl-invariants'} = 1;
}
--
1.7.10.4
--- End Message ---
--- Begin Message ---
On 2012-12-30 19:29, bastien ROUCARIES wrote:
> Package: lintian
> Version: 2.5.10.2
> Severity: normal
> control: tags -1 + patch
>
> autogen trip the gfdl check because the author use some with to the standard text:
> with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
> instead of :
> with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
>
> Fix it
Hi,
Thanks for the patch, which have been applied. As no released version
of Lintian suffers from this bug, I am closing the report immediately.
~Niels
--- End Message ---