[lintian] 01/01: Avoid to raise file-without-copyright-information
This is an automated email from the git hooks/post-receive script.
broucaries-guest pushed a commit to branch master
in repository lintian.
commit 4cd7522f549c5c72c0ab63d342887614a82ae67b
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date: Wed Sep 3 22:01:32 2014 +0200
Avoid to raise file-without-copyright-information
.pc file are autogenerated do not test
Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
checks/source-copyright.pm | 3 +++
debian/changelog | 2 ++
2 files changed, 5 insertions(+)
diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
index 5430b79..4fe4711 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -375,6 +375,9 @@ sub _parse_dep5 {
} else {
foreach my $srcfile (sort keys %file_coverage) {
my $i = $file_coverage{$srcfile};
+ if ($srcfile =~ '^\.pc/') {
+ next;
+ }
if (not $i) {
tag 'file-without-copyright-information', $srcfile;
}
diff --git a/debian/changelog b/debian/changelog
index 9eea14a..1da4cc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -62,6 +62,8 @@ lintian (2.5.26) UNRELEASED; urgency=medium
+ [BR] Detect bad short name and space in license.
Thanks to Clint Adams and Johannes Schauer.
(Closes: #747248, #757615).
+ + [BR] Avoid to raise file-without-copyright-information
+ for .pc directory.
* checks/systemd.pm:
+ [NT] Allow usage of /lib/init/init-d-scripts as alternative to
sourcing /lib/lsb/init-functions.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: