Check more exactly for pending and fixed tags so that fixed-in-experimental
and fixed-upstream don't wrongly show up under "Fixed in NMU". (If someone
wants to add a "Fixed in experimental" section for now, please do ...)
}
$status{tags} = $status{keywords};
+ my %tags = map { $_ => 1 } split ' ', $status{tags};
$status{"package"} =~ s/\s*$//;
$status{"package"} = 'unknown' if ($status{"package"} eq '');
$status{"pending"} = 'pending';
$status{"pending"} = 'forwarded' if (length($status{"forwarded"}));
- $status{"pending"} = 'pending-fixed' if ($status{"tags"} =~ /\bpending\b/);
- $status{"pending"} = 'fixed' if ($status{"tags"} =~ /\bfixed\b/);
+ $status{"pending"} = 'pending-fixed' if ($tags{pending});
+ $status{"pending"} = 'fixed' if ($tags{fixed});
my $version;
if (defined $common_version) {