From 349a9612225bb574598a9d70bd49d2f04d59eb1a Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 29 May 2001 15:17:39 +0000 Subject: fixed broken dependancies due to wrong reading of synthesis file. --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm.pm') 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) { -- cgit v1.2.1