summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/metadata.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pm b/scripts/metadata.pm
index e05e400..4a5464e 100644
--- a/scripts/metadata.pm
+++ b/scripts/metadata.pm
@@ -250,6 +250,7 @@ sub parse_package_metadata($) {
my @vpkg = split /\s+/, $1;
@{$pkg->{provides}} = ($pkg->{name}, @vpkg);
foreach my $vpkg (@vpkg) {
+ next if ($vpkg eq $pkg->{name});
$vpackage{$vpkg} or $vpackage{$vpkg} = [];
push @{$vpackage{$vpkg}}, $pkg;
}