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

[SCM] Debian package checker branch, master, updated. 2.2.0-46-ge210ecf



The following commit has been merged in the master branch:
commit d12b25290e120202bed9d9c77ac504ad1eb099dd
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sat Jan 31 18:59:44 2009 -0600

    Use the active compat level for subsequent debhelper checks
    
    $compat only contains the value from debian/compat, and may differ from
    the value actually being used by debhelper.
    
    Signed-off-by: Raphael Geissert <atomo64@gmail.com>

diff --git a/checks/debhelper b/checks/debhelper
index 963cbcd..711eb50 100644
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -216,7 +216,7 @@ if ($needversiondepends < 4) {
     }
 }
 
-if ($seendhcleank and $compat >= 7) {
+if ($seendhcleank and $needversiondepends >= 7) {
     tag "dh-clean-k-is-deprecated";
 }
 
@@ -280,13 +280,13 @@ while (defined(my $file=readdir(DEBIAN))) {
 	# filenames.  If so, check it for brace expansions, which aren't
 	# supported.
 	if ($filename_configs->known($base)) {
-	    next if $compat < 3;
+	    next if $needversiondepends < 3;
 	    open (IN, '<', "debfiles/$file")
 		or fail("Can't open debfiles/$file: $!");
 	    local $_;
 	    while (<IN>) {
 		next if /^\s*$/;
-		next if (/^\#/ and $compat >= 5);
+		next if (/^\#/ and $needversiondepends >= 5);
 		if (m/(?<!\\)\{(?:[^\s\\\}]+?,)+[^\\\}\s]+\}/) {
 		    tag 'brace-expansion-in-debhelper-config-file',
 			"debian/$file";

-- 
Debian package checker


Reply to: