aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM/Resolve.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4550887..f394c36 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix scoring locale packages
+
Version 4.22 - 17 December 2012
- rpm-4.11 fixes:
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index b0df240..495d8e5 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -162,7 +162,7 @@ sub _is_selected_or_installed {
my ($urpm, $db, $name) = @_;
(grep { $_->flag_available } $urpm->packages_providing($name)) > 0 ||
- $db->traverse_tag_find('name', $name, sub {}) > 0;
+ $db->traverse_tag('name', [ $name ], undef) > 0;
}
#- finds $pkg "provides" that matches $provide_name, and returns the version provided