[lintian] 01/01: Avoid a false positive in gfdl file
This is an automated email from the git hooks/post-receive script.
broucaries-guest pushed a commit to branch master
in repository lintian.
commit c894b015dda0db3f69b7be7d96ce794cb62a7b3e
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date: Mon Mar 13 11:28:35 2017 +0100
Avoid a false positive in gfdl file
---
checks/cruft.pm | 1 +
debian/changelog | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/checks/cruft.pm b/checks/cruft.pm
index 13fdabc..1c2a50e 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -1154,6 +1154,7 @@ sub _check_gfdl_license_problem {
the [ ] free [ ] software [ ] foundation[ ]?}{}xsmo;
$gfdlsections =~ s{\(?[ ]? fsf [ ]?\)?[ ]?}{}xsmo;
$gfdlsections =~ s{\A [ ]? [,\.;]? [ ]?}{}xsmo;
+ $gfdlsections =~ s{[ ]? [,\.]? [ ]?\Z}{}xsmo;
} while ($oldgfdlsections ne $gfdlsections);
$contextbefore =~ s{
diff --git a/debian/changelog b/debian/changelog
index 0d203b1..09305c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,11 +6,12 @@ lintian (2.5.51) UNRELEASED; urgency=medium
+ [BR] Apply patch by Simon McVittie to detect unreleased package
uploaded to unstable and mismatched .changes and
Changes: distribution. (Closes: #540294).
- * checks/cruft.desc:
+ * checks/cruft.{desc,pm}:
+ [BR] Document long line tagged source-is-missing as a feature
not a bug. (Closes: #849470).
+ [BR] Correct a typo in description of tag
license-problem-convert-utf-code.
+ + [BR] Avoid a false positive in gfdl file detection.
* checks/files.pm:
+ [BR] Do not report duplicates for package-installs-apt-preferences
and package-installs-apt-sources. (Closes: #814521).
@@ -22,6 +23,9 @@ lintian (2.5.51) UNRELEASED; urgency=medium
* data/common/source-fields:
+ [NT] Add new "Testsuite-Restrictions" field.
+ * data/obsolete-sites/obsolete-sites:
+ + [BR] Apply patch from Hideki Yamane in order to warn about
+ fedorahosted. (Closes: #856954).
* data/spelling/corrections:
+ [NT] Apply patches from Edward Betts to fix bugs in the correction
word lists. (Closes: #852005, #852084)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: