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

[lintian] 01/01: Ensure readme-debian-contains-debmake-template also checks for templates "Automatically generated by debmake".



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

lamby pushed a commit to branch master
in repository lintian.

commit 1940b3bdac746b3ea04f8e4863b41190e4b7b0be
Author: Chris Lamb <lamby@debian.org>
Date:   Sun Aug 6 08:46:42 2017 -0400

    Ensure readme-debian-contains-debmake-template also checks for templates "Automatically generated by debmake".
---
 checks/debian-readme.desc | 1 +
 checks/debian-readme.pm   | 3 ++-
 debian/changelog          | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/checks/debian-readme.desc b/checks/debian-readme.desc
index c7021c2..1bad6af 100644
--- a/checks/debian-readme.desc
+++ b/checks/debian-readme.desc
@@ -22,6 +22,7 @@ Info: The README.Debian file installed by this package contains one of the
   Comments regarding the package
   So far nothing to say
   &lt;possible notes regarding this package - if none, delete this file&gt;
+  Automatically generated by debmake
  .
  If there is real information in the file, please delete any generic
  template phrases.  If there is nothing to say in the file, it is best
diff --git a/checks/debian-readme.pm b/checks/debian-readme.pm
index 74d2851..3136d38 100644
--- a/checks/debian-readme.pm
+++ b/checks/debian-readme.pm
@@ -63,7 +63,8 @@ sub run {
     my @template =(
         'Comments regarding the Package',
         'So far nothing to say',
-        '<possible notes regarding this package - if none, delete this file>'
+        '<possible notes regarding this package - if none, delete this file>',
+        'Please edit this to provide information specific to'
     );
     my $regex = join('|', @template);
     if ($readme =~ m/$regex/io) {
diff --git a/debian/changelog b/debian/changelog
index 855c69d..f693b81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,9 @@ lintian (2.5.53) UNRELEASED; urgency=medium
       missing-build-dependency-for-dh_-command that can be exposed by
       following the advice for the recently added
       useless-autoreconf-build-depends tag.  (Closes: #869541)
+  * checks/debian-readmine.{pm,desc}:
+    + [CL] Ensure readme-debian-contains-debmake-template also checks
+      for templates "Automatically generated by debmake".
   * checks/fields.pm:
     + [CL] Ensure that python3-foo packages have "Section: python", not
       just python2-foo.  (Closes: #870272)

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


Reply to: