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

[lintian] 02/04: Fix an issue where the bad-section-in-changes-file, file-size-mismatch-in-changes-file and checksum-mismatch-in-changes-file tags were not being checked if a package contained an upstream signature. package contained an upstream signature.



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

lamby pushed a commit to branch master
in repository lintian.

commit 352c3eb6bc2286e29b6ee3af4d198334f6277856
Author: Chris Lamb <lamby@debian.org>
Date:   Mon Jan 29 18:53:36 2018 +0000

    Fix an issue where the bad-section-in-changes-file, file-size-mismatch-in-changes-file and checksum-mismatch-in-changes-file tags were not being checked if a package contained an upstream signature. package contained an upstream signature.
---
 checks/changes-file.pm | 4 ++--
 debian/changelog       | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/checks/changes-file.pm b/checks/changes-file.pm
index 74f99ba..5f37ad2 100644
--- a/checks/changes-file.pm
+++ b/checks/changes-file.pm
@@ -205,8 +205,8 @@ sub run {
             && $file =~ m/\.orig(-[A-Za-z\d-]+)?\.tar\./
             && $file !~ m/\.asc$/
             && $info->field('version') !~ m/(?:dfsg|debian|ds|repack)/) {
-            next if exists $files->{"$file.asc"};
-            tag 'orig-tarball-missing-upstream-signature', $file;
+            tag 'orig-tarball-missing-upstream-signature', $file
+              unless exists $files->{"$file.asc"};
         }
 
         # check section
diff --git a/debian/changelog b/debian/changelog
index fdd2b49..5a4a67b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,10 @@ lintian (2.5.73) UNRELEASED; urgency=medium
   * checks/changes-file.{desc.pm}:
     + [CL] Check for source format 1.0 files that ship upstream signatures
       as this is not supported in stretch.  (Closes: #823190)
+    + [CL] Fix an issue where the bad-section-in-changes-file,
+      file-size-mismatch-in-changes-file and
+      checksum-mismatch-in-changes-file tags were not being checked if a
+      package contained an upstream signature.
   * checks/fields.{desc,pm}:
     + [CL] Add a pedantic warning for co-maintained packages that are not
       managed in a revision control system.  (Closes: #884497)

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


Reply to: