[SCM] Debian package checker branch, master, updated. 2.3.4-33-g4d7501e
The following commit has been merged in the master branch:
commit 1e99214d3e3bc7aa458ec1f7aad90ff0b7a726a4
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date: Wed Jan 6 09:53:13 2010 +0000
Accept "changes" as a supported type for collection and check scripts
diff --git a/frontend/lintian b/frontend/lintian
index e0e8bdb..23eaaa4 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1064,7 +1064,7 @@ for my $f (readdir COLLDIR) {
set_value($f, $p,'type',$secs[0],1);
# convert Type:
- my ($b,$s,$u) = ( "", "", "" );;
+ my ($b,$s,$u,$c) = ( "", "", "", "" );;
for (split(/\s*,\s*/o,$p->{'type'})) {
if ($_ eq 'binary') {
$b = 'b';
@@ -1072,11 +1072,13 @@ for my $f (readdir COLLDIR) {
$s = 's';
} elsif ($_ eq 'udeb') {
$u = 'u';
+ } elsif ($_ eq 'changes') {
+ $c = 'c';
} else {
fail("unknown type $_ specified in description file $f");
}
}
- $p->{'type'} = "$s$b$u";
+ $p->{'type'} = "$s$b$u$c";
set_value($f,$p,'order',$secs[0],1);
set_value($f,$p,'version',$secs[0],1);
@@ -1129,7 +1131,7 @@ for my $f (readdir CHECKDIR) {
set_value($f,$p,'type',$secs[0],1);
# convert Type:
- my ($b,$s,$u) = ( "", "", "" );
+ my ($b,$s,$u,$c) = ( "", "", "", "" );
for (split(/\s*,\s*/o,$p->{'type'})) {
if ($_ eq 'binary') {
$b = 'b';
@@ -1137,11 +1139,13 @@ for my $f (readdir CHECKDIR) {
$s = 's';
} elsif ($_ eq 'udeb') {
$u = 'u';
+ } elsif ($_ eq 'changes') {
+ $c = 'c';
} else {
fail("unknown type $_ specified in description file $f");
}
}
- $p->{'type'} = "$s$b$u";
+ $p->{'type'} = "$s$b$u$c";
set_value($f,$p,'abbrev',$secs[0],1);
--
Debian package checker
Reply to: