aboutsummaryrefslogtreecommitdiffstats
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
parent551c253d7ef46d26fec291a383892751539268ee (diff)
downloadrpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar.gz
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar.bz2
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.tar.xz
rpmtools-75d42db69052672a2e8ce38303577e826ff380f7.zip
*** empty log message ***
-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.