[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: L::Tags: Make it possible to override tags containing "+" characters



This is an automated email from the git hooks/post-receive script.

jwilk pushed a commit to branch master
in repository lintian.

commit 555e1d7b1f82b046424274ceb897cebaf01082f6
Author: Jakub Wilk <jwilk@debian.org>
Date:   Mon Nov 30 18:25:43 2015 +0100

    L::Tags: Make it possible to override tags containing "+" characters
---
 debian/changelog    | 3 +++
 lib/Lintian/Tags.pm | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 50893fc..cd26ced 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,9 @@ lintian (2.5.39) UNRELEASED; urgency=medium
 
   * lib/Lintian/Tags.pm:
     + [JW] Fix typo.
+    + [JW] Make it possible to override tags containing "+" characters, such
+      as "missing-dependency-on-libstdc++".  Thanks to Andreas Beckmann for the
+      bug report.  (Closes: #806504)
 
   * lib/Test/Lintian.pm:
     + [JW] Fix typo.
diff --git a/lib/Lintian/Tags.pm b/lib/Lintian/Tags.pm
index 1a7efda..6647e84 100644
--- a/lib/Lintian/Tags.pm
+++ b/lib/Lintian/Tags.pm
@@ -543,7 +543,7 @@ sub file_overrides {
                   (?: \s*+ \[([^\]]+?)\])?          # optionally followed by an [arch-list] (like in B-D) -> $2
                   (?:\s*+ ([a-z]+) \s*+ )?          # optionally followed by the type -> $3
                 :\s++)?                             # end optional part
-                ([\-\.a-zA-Z_0-9]+ (?:\s.+)?)       # <tag-name> [extra] -> $4
+                ([\-\+\.a-zA-Z_0-9]+ (?:\s.+)?)     # <tag-name> [extra] -> $4
                    \Z/xsm
           ) {
             # Valid - so far at least

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: