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

[lintian] 01/01: data/rules/should-not-use: Include the assigned value in the Lintian output for the debian-rules-should-not-use-DH_EXTRA_ADDONS tag.



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

lamby pushed a commit to branch master
in repository lintian.

commit 227ebde4a289adf6c5deac968dc0142c3f409f4d
Author: Chris Lamb <lamby@debian.org>
Date:   Sat Jan 13 12:15:43 2018 +0530

    data/rules/should-not-use: Include the assigned value in the Lintian output for the debian-rules-should-not-use-DH_EXTRA_ADDONS tag.
---
 data/rules/rules-should-not-use | 2 +-
 debian/changelog                | 3 +++
 t/tests/rules-general/tags      | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/data/rules/rules-should-not-use b/data/rules/rules-should-not-use
index 098e9d4..e17bbed 100644
--- a/data/rules/rules-should-not-use
+++ b/data/rules/rules-should-not-use
@@ -5,7 +5,7 @@
 #
 debian-rules-should-not-automatically-update-control     ~~ ^\s*DEB_AUTO_UPDATE_DEBIAN_CONTROL\s*=\s*yes
 debian-rules-should-not-use-DEB_BUILD_OPTS               ~~ \$[\(\{]DEB_BUILD_OPTS[\)\}]
-debian-rules-should-not-use-DH_EXTRA_ADDONS              ~~ ^\s*DH_EXTRA_ADDONS\s*=
+debian-rules-should-not-use-DH_EXTRA_ADDONS              ~~ ^\s*DH_EXTRA_ADDONS\s*=\s*(?<info>.*)\n
 debian-rules-should-not-use-or-modify-user-only-variable ~~ \bDEB_[^_ \t]+FLAGS_(?:SET|APPEND)\b
 debian-rules-should-not-use-pwd                          ~~ \$[\(\{]PWD[\)\}]
 debian-rules-should-not-use-underscore-variable          ~~ \$[\(\{]_[\)\}]
diff --git a/debian/changelog b/debian/changelog
index f859e79..1b46b54 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,9 @@ lintian (2.5.69) UNRELEASED; urgency=medium
     + [CL] Ensure that NSS (Name Services Switch) modules are placed in the
       "admin" section. Thanks to Mathieu Parent (sathieu) for the patch.
       (Closes: #886961)
+  * data/rules/rules-should-not-use:
+    + [CL] Include the assigned value in the Lintian output for the
+      debian-rules-should-not-use-DH_EXTRA_ADDONS tag.
 
  -- Chris Lamb <lamby@debian.org>  Tue, 09 Jan 2018 20:55:21 +0530
 
diff --git a/t/tests/rules-general/tags b/t/tests/rules-general/tags
index 660bfec..800c2d8 100644
--- a/t/tests/rules-general/tags
+++ b/t/tests/rules-general/tags
@@ -1,6 +1,6 @@
 E: rules-general source: clean-should-be-satisfied-by-build-depends debhelper
 E: rules-general source: debian-rules-should-not-automatically-update-control line 3
 W: rules-general source: debian-rules-should-not-use-DEB_BUILD_OPTS line 11
-W: rules-general source: debian-rules-should-not-use-DH_EXTRA_ADDONS line 4
+W: rules-general source: debian-rules-should-not-use-DH_EXTRA_ADDONS systemd (line 4)
 W: rules-general source: debian-rules-should-not-use-pwd line 11
 W: rules-general source: debian-rules-should-not-use-underscore-variable line 12

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


Reply to: