[lintian] 01/01: Relax regexp for missing-dependency-on-perlapi (Closes: #823437)
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository lintian.
commit b3c326c5b364ed861ace44d81f6932bfbd9b7d47
Author: Axel Beckert <abe@deuxchevaux.org>
Date: Sat May 21 11:18:58 2016 +0200
Relax regexp for missing-dependency-on-perlapi (Closes: #823437)
---
checks/binaries.pm | 2 +-
debian/changelog | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/checks/binaries.pm b/checks/binaries.pm
index 207a5ab..ad90be8 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -614,7 +614,7 @@ sub run {
if ($has_perl_lib) {
# It is a virtual package, so no version is allowed and
# alternatives probably does not make sense here either.
- my $re = qr/^perlapi-[\d.]+(?:\s*\[[^\]]+\])?$/;
+ my $re = qr/^perlapi-[-\w.]+(?:\s*\[[^\]]+\])?$/;
unless ($depends->matches($re, VISIT_OR_CLAUSE_FULL)) {
tag 'missing-dependency-on-perlapi';
}
diff --git a/debian/changelog b/debian/changelog
index 5771011..d84c1fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,9 +2,11 @@ lintian (2.5.45) UNRELEASED; urgency=medium
XXX: generate tag summary with private/generate-tag-summary
- * checks/binaries.desc:
+ * checks/binaries.{desc,pm}:
+ [NT] Rewrite description for hardening-no-bindnow. There
is no references to why bindnow would cause issues.
+ + [AB] Relax regexp for missing-dependency-on-perlapi to allow letters
+ inside the API name. Thanks Niko Tyni! (Closes: #823437)
* checks/debhelper.pm:
+ [NT] The /usr/share/R/debian/r-cran.mk file implies
/usr/share/cdbs/1/rules/debhelper.mk.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: