diff options
author | Francois Pons <fpons@mandriva.com> | 2001-06-21 16:39:14 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-06-21 16:39:14 +0000 |
commit | 0630fb8a8bb835e0a8dc1636c789a22c70889779 (patch) | |
tree | f457002df06d0a1b5be9b95f8be6033e354a74a0 | |
parent | 0b46d42df00d497235dcd9a0ce151a080b066e9f (diff) | |
download | drakx-0630fb8a8bb835e0a8dc1636c789a22c70889779.tar drakx-0630fb8a8bb835e0a8dc1636c789a22c70889779.tar.gz drakx-0630fb8a8bb835e0a8dc1636c789a22c70889779.tar.bz2 drakx-0630fb8a8bb835e0a8dc1636c789a22c70889779.tar.xz drakx-0630fb8a8bb835e0a8dc1636c789a22c70889779.zip |
added minimal support for rpmtools >= 3.0
-rw-r--r-- | perl-install/pkgs.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index b55e737ea..eb360a53f 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -509,7 +509,8 @@ sub getDeps { local *F; open F, "$prefix/var/lib/urpmi/depslist.ordered" or die "can't find dependancies list"; local $_; while (<F>) { - my ($name, $version, $release, $sizeDeps) = /^(\S*)-([^-\s]+)-([^-\s]+)\s+(.*)/; + my ($name, $version, $release, $arch, $serial, $sizeDeps) = + /^([^:\s]*)-([^:\-\s]+)-([^:\-\s]+)\.([^:\.\-\s]*)(?::(\d+)\S*)?\s+(.*)/; my $pkg = $packages->{names}{$name}; #- these verification are necessary in case of error, but are no more fatal as |