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

[lintian] 01/01: Fix Unescaped left brace in regex is deprecated line 68.



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

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 4a89fcabe3025cf936d6c3d99cab7e36a35c01d3
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Sun Aug 30 17:51:38 2015 +0200

     Fix Unescaped left brace in regex is deprecated line 68.
---
 checks/version-substvars.pm |  2 +-
 debian/changelog            | 14 ++++++++------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/checks/version-substvars.pm b/checks/version-substvars.pm
index a98b3f0..124b354 100644
--- a/checks/version-substvars.pm
+++ b/checks/version-substvars.pm
@@ -68,7 +68,7 @@ sub run {
                 if (
                     m/ ($PKGNAME_REGEX)(?: :any)? \s*           # pkg-name $1
                        \(\s*[\>\<]?[=\>\<]\s*                  # REL 
-                        \${(?:Source-|source:|binary:)Version} # {subvar}
+                        \$[{](?:Source-|source:|binary:)Version[}] # {subvar}
                      /x
                   ) {
                     my $other = $1;
diff --git a/debian/changelog b/debian/changelog
index b32bc85..8fe399b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,12 +2,6 @@ lintian (2.5.37) UNRELEASED; urgency=medium
 
    "XXX: generate tag summary"
 
-  * checks/cruft.pm:
-    + [BR] Fix complex regular subexpression recursion limit.
-      Strip comments is only done on first 8192 characters.
-      (Closes: #795955).
-    + [BR] Performance improvement check if line < 1024 before
-      stripping comment. Classify to minified if line > 1024.
   * checks/binaries.pm:
     + [NT] Apply patch from Michael Stapelberg to ignore
       "no-relro" and "no-fortify-functions" issues in
@@ -16,6 +10,12 @@ lintian (2.5.37) UNRELEASED; urgency=medium
     + [NT] Apply patch from Michael Stapelberg to a
       common false positive spelling mistake in "go"
       binaries.  (Closes: #795614)
+  * checks/cruft.pm:
+    + [BR] Fix complex regular subexpression recursion limit.
+      Strip comments is only done on first 8192 characters.
+      (Closes: #795955).
+    + [BR] Performance improvement check if line < 1024 before
+      stripping comment. Classify to minified if line > 1024.
   * checks/description.pm:
     + [AB] Fix false positives in
       perl-module-name-not-mentioned-in-description (Closes: #795779)
@@ -23,6 +23,8 @@ lintian (2.5.37) UNRELEASED; urgency=medium
     + [JW] Use "an" (instead of "a") before "HTTP".
     + [NT] Assert that -dbgsym packages are in the "debug" section.
       Thanks to Jean-Michel Vourgère for reporting the issue.
+  * checks/version-substvars.pm:
+    + [BR] Fix Unescaped left brace in regex is deprecated line 68.
 
   * data/binaries/embedded-libs:
     + [RG] Add another matching string for libidn

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


Reply to: