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 bf86eb8..0cb0f8d 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -473,7 +473,7 @@ sub write_depslist {
my $pkg = $params->{depslist}[$_];
printf $FILE ("%s-%s-%s.%s%s %s %s\n",
$pkg->{name}, $pkg->{version}, $pkg->{release}, $pkg->{arch},
- ($pkg->{serial} ? ":$pkg->{serial}" : ''), $pkg->{size}, $pkg->{deps});
+ ($pkg->{serial} ? ":$pkg->{serial}" : ''), $pkg->{size} || 0, $pkg->{deps});
}
1;
}