diff options
author | Francois Pons <fpons@mandriva.com> | 2001-05-29 15:17:39 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-05-29 15:17:39 +0000 |
commit | 349a9612225bb574598a9d70bd49d2f04d59eb1a (patch) | |
tree | a1d7fcf42b15d41203345130e5760719a54f6749 | |
parent | 1f2951c909d434c06c6391c5cc9bf6b19324e768 (diff) | |
download | urpmi-349a9612225bb574598a9d70bd49d2f04d59eb1a.tar urpmi-349a9612225bb574598a9d70bd49d2f04d59eb1a.tar.gz urpmi-349a9612225bb574598a9d70bd49d2f04d59eb1a.tar.bz2 urpmi-349a9612225bb574598a9d70bd49d2f04d59eb1a.tar.xz urpmi-349a9612225bb574598a9d70bd49d2f04d59eb1a.zip |
fixed broken dependancies due to wrong reading of synthesis file.
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1049,7 +1049,7 @@ sub filter_minimal_packages_to_upgrade { #- simply ignore src rpm, which does not have any provides. $info{name} && $info{provides} or return; foreach (@{$info{provides}}) { - if (/(\S*)\s*==\s*\d*:?([^-]*)-([^-]*)/ && $info{name} eq $1) { + if (/(\S*)\s*==\s*(?:\d+:)?([^-]*)-([^-]*)/ && $info{name} eq $1) { $found = $urpm->{params}{info}{$info{name}}; if ($found->{version} eq $2 && $found->{release} eq $3) { foreach (keys %info) { |