[lintian] 01/01: checks/source-copyright.desc: Avoid false positives for missing-notice-file-for-apache-license by also looking for files with a .txt extension in binary packages. Thanks to Ferenc Wágner for the report. (Closes: #886343)
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 28028299a402eb8d87176a537facc437ab89b6c6
Author: Chris Lamb <lamby@debian.org>
Date: Thu Jan 4 21:51:41 2018 +0000
checks/source-copyright.desc: Avoid false positives for missing-notice-file-for-apache-license by also looking for files with a .txt extension in binary packages. Thanks to Ferenc Wágner for the report. (Closes: #886343)
---
checks/source-copyright.pm | 2 +-
debian/changelog | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
index 2bf6a3e..c04e82a 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -165,7 +165,7 @@ sub _check_apache_notice_files {
foreach my $binpkg (@procs) {
my @files = $binpkg->info->sorted_index;
- return if any { $_->basename =~ m/^NOTICE(\.gz)?$/} @files;
+ return if any { $_->basename =~ m/^NOTICE(\.txt)?(\.gz)?$/} @files;
}
tag 'missing-notice-file-for-apache-license', join(' ', @notice_files);
diff --git a/debian/changelog b/debian/changelog
index 4a31c54..7d714bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,10 @@ lintian (2.5.68) UNRELEASED; urgency=medium
+ [CL] Skip Objective-C libraries for the no-symbols-control-file tag
as instance/class methods do not appear in the symbol table. Thanks
to Yavor Doganov for the report and help. (Closes: #749202)
+ * checks/source-copyright.desc:
+ + [CL] Avoid false positives for missing-notice-file-for-apache-license
+ by also looking for files with a .txt extension in binary packages.
+ Thanks to Ferenc Wágner for the report. (Closes: #886343)
* checks/standards-version.desc:
+ [CL] Downgrade severity of out-of-date-standards-version from normal
("W:") to wishlist ("I:"). (Closes: #886210)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: