aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmtools.pm2
-rw-r--r--rpmtools.spec5
2 files changed, 5 insertions, 2 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;
}
diff --git a/rpmtools.spec b/rpmtools.spec
index c4c95f5..80bfee9 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 6mdk
+%define release 7mdk
# do not modify here, see Makefile in the CVS
%define version 3.1
@@ -54,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/perl5/man/*/*
%changelog
+* Fri Nov 16 2001 François Pons <fpons@mandrakesoft.com> 3.1-7mdk
+- fixed problem with depslist generation from synthesis source only.
+
* Fri Nov 16 2001 François Pons <fpons@mandrakesoft.com> 3.1-6mdk
- fixed bad generation of hdlist for non standard rpm filename.