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

Bug#454518: lintian: [checks/patch-system] check for files with dpatch extention



Package: lintian
Version: 1.23.37
Severity: normal
Tags: patch

Hey there,

The new lintian version checks for the files in 00list when checking for
dpatch, but it doesn't add a 'dpatch' extension while looking. This
generates many false positives since dpatch does add the extension while
looking and therefore finds the files.

A small patch is included to solve the issue.

Cheers

-- 
Leo "costela" Antunes
[insert a witty retort here]

--- tmp/patch-systems.orig	2007-12-05 20:50:56.000000000 +0100
+++ tmp/patch-systems	2007-12-05 20:52:08.000000000 +0100
@@ -60,7 +60,7 @@
 					chomp;
 					next if (/^#/); #ignore comments
 					push @patches, $_;
-					if (! -r "debfiles/patches/$_") {
+					if (! -r "debfiles/patches/$_" && ! -r "debfiles/patches/$_.dpatch") {
 						tag "dpatch-index-references-non-existant-patch", $_;
 					}
 				}

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: