[lintian] 01/01: c/version-substsvars: Ignore all multi-arch quantifiers
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 91ce91a31f19a909092af8d2406cdc6f87b34950
Author: Javier Serrano Polo <javier@jasp.net>
Date: Sat Apr 23 06:17:57 2016 +0000
c/version-substsvars: Ignore all multi-arch quantifiers
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/version-substvars.pm | 2 +-
debian/changelog | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/checks/version-substvars.pm b/checks/version-substvars.pm
index bb8395c..fc45124 100644
--- a/checks/version-substvars.pm
+++ b/checks/version-substvars.pm
@@ -66,7 +66,7 @@ sub run {
tag 'substvar-source-version-is-deprecated', $pkg1;
}
if (
- m/ ($PKGNAME_REGEX)(?: :any)? \s* # pkg-name $1
+ m/ ($PKGNAME_REGEX)(?: :[-a-z0-9]+)? \s* # pkg-name $1
\(\s*[\>\<]?[=\>\<]\s* # REL
\$[{](?:Source-|source:|binary:)Version[}] # {subvar}
/x
diff --git a/debian/changelog b/debian/changelog
index c7b935e..2a36413 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -57,6 +57,10 @@ lintian (2.5.44) UNRELEASED; urgency=medium
+ [NT] Merge and remove some ldconfig related tags. Notably
unconditionally flag all uses of ldconfig in maintainer scripts
(outside glibc) as these should be replaced by a trigger.
+ * checks/version-substvars.pm:
+ + [NT] Apply patch from Javier Serrano Polo that makes the check
+ ignore all multi-arch quantifiers (when determining if the
+ dependency is for an external package). (Closes: #822269)
* commands/info.pm:
+ [NT] Accept "--tag" as an alias of "--tags". Thanks to Robert
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: