diff options
-rw-r--r-- | URPM/Resolve.pm | 1 | ||||
-rw-r--r-- | perl-URPM.spec | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index fe18957..2cb1791 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -219,6 +219,7 @@ sub resolve_requested { #- should be prefered over packages that requires locales not installed. my (@chosen_good_locales, @chosen_bad_locales, @chosen_other); foreach (@chosen) { + $_ or next; my $good_locales; if (my ($specific_locales) = grep { /locales-/ && ! /locales-en/ } $_->requires_nosense) { if ((grep { $urpm->{depslist}[$_]->flag_available } keys %{$urpm->{provides}{$specific_locales}}) > 0 || diff --git a/perl-URPM.spec b/perl-URPM.spec index 30ca4cc..aedcd83 100644 --- a/perl-URPM.spec +++ b/perl-URPM.spec @@ -1,7 +1,7 @@ %define name perl-URPM %define real_name URPM %define version 0.70 -%define release 3mdk +%define release 4mdk %{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)} @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Aug 29 2002 François Pons <fpons@mandrakesoft.com> 0.70-4mdk +- fixed requires examination for right locales. + * Wed Aug 28 2002 François Pons <fpons@mandrakesoft.com> 0.70-3mdk - setup state to know if an old package will be upgraded. - added optional parameter to keep all tags from an rpm. |