summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-07-05 10:07:14 +0000
committerFrancois Pons <fpons@mandriva.com>2001-07-05 10:07:14 +0000
commit8da0fb2c7218443243777a30964c1695c579e68c (patch)
treeab374709458edbbdec33cc8641a9ef90404c00de
parent0f40ccec05fc93b5740871aec41c456b9b0bd465 (diff)
downloadurpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar
urpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar.gz
urpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar.bz2
urpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar.xz
urpmi-8da0fb2c7218443243777a30964c1695c579e68c.zip
now should have fixed local rpm install.
-rw-r--r--urpm.pm6
-rw-r--r--urpmi.spec5
2 files changed, 9 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 8f120497..ee7bf9d5 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1462,7 +1462,11 @@ sub get_source_packages {
#- build association hash to retrieve id and examine all list files.
foreach (keys %$packages) {
my $p = $urpm->{params}{depslist}[$_];
- $fullname2id{"$p->{name}-$p->{version}-$p->{release}.$p->{arch}"} = $_;
+ if ($p->{source}) {
+ push @local_sources, $p->{source};
+ } else {
+ $fullname2id{"$p->{name}-$p->{version}-$p->{release}.$p->{arch}"} = $_;
+ }
}
#- examine each medium to search for packages.
diff --git a/urpmi.spec b/urpmi.spec
index 11ddc45e..58634d21 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 1.6
-Release: 10mdk
+Release: 11mdk
License: GPL
Source0: %{name}.tar.bz2
Summary: User mode rpm install
@@ -106,6 +106,9 @@ rm -f /var/lib/urpmi/depslist
%changelog
+* Thu Jul 5 2001 François Pons <fpons@mandrakesoft.com> 1.6-11mdk
+- take care of local packages.
+
* Wed Jul 4 2001 François Pons <fpons@mandrakesoft.com> 1.6-10mdk
- fixed bad packages installed on some cases.