aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rwxr-xr-xrpmdrake2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7651933f..2cbb3268 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- rpmdrake:
+ o only look at name, not at full name (n-e-v-r) when performing
+ search in names (#45410)
+
Version 5.4 - 24 November 2008, Thierry Vignaud
- edit-urpm-sources:
diff --git a/rpmdrake b/rpmdrake
index 655d0e56..79556615 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -72,7 +72,7 @@ sub do_search($$$$$$$) {
if ($current_search_type eq 'normal') {
my $count;
foreach (@filtered_pkgs) {
- next if !/$entry_rx/;
+ next if first(split_fullname($_)) !~ /$entry_rx/;
push @search_results, $_;
# FIXME: should be done for all research types
last if $count++ > 2000;