aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmtools.pm')
-rw-r--r--rpmtools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmtools.pm b/rpmtools.pm
index 3f8dd69..85a6e12 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -292,7 +292,7 @@ sub read_provides {
foreach (<$FILE>) {
chomp;
my ($k, @v) = split ':';
- $params->{provides}{$k} = \@v;
+ $params->{provides}{$k} = @v > 0 ? \@v : undef;
}
}