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

[lintian] 02/05: c/changes-file.pm: Check all components, not just the orig tarball.



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

lamby pushed a commit to branch master
in repository lintian.

commit b4e686fd03368af5f64621c24d672d1549b142e5
Author: Chris Lamb <lamby@debian.org>
Date:   Sun Jul 16 17:40:43 2017 +0100

    c/changes-file.pm: Check all components, not just the orig tarball.
---
 checks/changes-file.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/checks/changes-file.pm b/checks/changes-file.pm
index 03655a5..cbf5c05 100644
--- a/checks/changes-file.pm
+++ b/checks/changes-file.pm
@@ -194,10 +194,10 @@ sub run {
     foreach my $file (keys %$files) {
         my $file_info = $files->{$file};
 
-        # Ensure orig tarballs have a signature if we have an upstream
+        # Ensure all orig tarballs have a signature if we have an upstream
         # signature.
         if (   $has_signing_key
-            && $file =~ m/\.orig\.tar\./
+            && $file =~ m/\.orig(-[A-Za-z\d-]+)?\.tar\./
             && $file !~ m/\.asc$/) {
             next if exists $files->{"$file.asc"};
             tag 'orig-tarball-missing-upstream-signature', $file;

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


Reply to: