summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-05-29 15:17:39 +0000
committerFrancois Pons <fpons@mandriva.com>2001-05-29 15:17:39 +0000
commit349a9612225bb574598a9d70bd49d2f04d59eb1a (patch)
treea1d7fcf42b15d41203345130e5760719a54f6749
parent1f2951c909d434c06c6391c5cc9bf6b19324e768 (diff)
downloadurpmi-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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 6a31bc20..ac5f081b 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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) {