aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-03 14:43:44 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-03 14:43:44 +0000
commit75d42db69052672a2e8ce38303577e826ff380f7 (patch)
tree9e96385a83b35411a2559f1ae1389a8d4622bb38 /rpmtools.pm
parent551c253d7ef46d26fec291a383892751539268ee (diff)
downloadrpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar.gz
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar.bz2
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar.xz
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.zip
*** empty log message ***
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;
}
}