[lintian] 02/02: Ignore .pc dirs for source-includes-file-in-files-excluded,
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit a088031654c5a419d5f3dad93a3907fac1e1d078
Author: Chris Lamb <lamby@debian.org>
Date: Thu Dec 7 11:20:37 2017 +0000
Ignore .pc dirs for source-includes-file-in-files-excluded,
---
checks/source-copyright.pm | 2 +-
debian/changelog | 1 +
t/tests/source-copyright-source-files-excluded/debian/.pc/filename | 0
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
index 570a72e..b9587c6 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -632,7 +632,7 @@ sub check_files_excluded {
$wc_value = qr/^${wc_value}(?:\/|$)/;
}
for my $srcfile (@files) {
- next if $srcfile =~ m/^debian\//;
+ next if $srcfile =~ m/^(?:debian|\.pc)\//;
tag 'source-includes-file-in-files-excluded', $srcfile
if $srcfile =~ qr/^$wc_value/;
}
diff --git a/debian/changelog b/debian/changelog
index 4afc99c..e9a39cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,7 @@ lintian (2.5.62) UNRELEASED; urgency=medium
would trigger it on the maintainer's replacement files.
+ [CL] List all files violating source-includes-file-in-files-excluded,
not just the first one we encounter per "Files-Excluded" entry.
+ + [CL] Ignore .pc dirs for source-includes-file-in-files-excluded,
* data/spelling/corrections:
+ [AB] Remove "publically". It's a seldom, but valid English word
diff --git a/t/tests/source-copyright-source-files-excluded/debian/.pc/filename b/t/tests/source-copyright-source-files-excluded/debian/.pc/filename
new file mode 100644
index 0000000..e69de29
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: