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 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;
}
}
diff --git a/rpmtools.spec b/rpmtools.spec
index b608bf3..1f7e4cf 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 7mdk
+%define release 8mdk
# do not modify here, see Makefile in the CVS
%define version 1.2
@@ -99,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Sep 01 2000 François Pons <fpons@mandrakesoft.com> 1.2-8mdk
+- fixed read_provides with unresolved dependancies.
+
* Tue Aug 29 2000 François Pons <fpons@mandrakesoft.com> 1.2-7mdk
- fixed rpmtools.pm depslist.ordered reading code on gendepslist2 produced
file.