From: Don Armstrong Date: Wed, 14 Mar 2007 06:03:47 +0000 (-0700) Subject: - When searching by source package, include the source package itself X-Git-Tag: release/2.6.0~573^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=905d14fb37b4c609e8c4e38872f4b73f39a96fcb;p=debbugs.git - When searching by source package, include the source package itself in the list of packages to search for, even if there is no binary package called that. (closes: #414825) --- diff --git a/Debbugs/Bugs.pm b/Debbugs/Bugs.pm index e412b47..2246dec 100644 --- a/Debbugs/Bugs.pm +++ b/Debbugs/Bugs.pm @@ -445,7 +445,7 @@ sub __handle_pkg_src_and_maint{ # We only want to increment the number of keys if there is # something to match my $key_inc = 0; - for my $package (map { getsrcpkgs($_)} __make_list($param{src})) { + for my $package ((map { getsrcpkgs($_)} __make_list($param{src})),__make_list($param{src})) { $packages{$package}++; $key_inc=1; } diff --git a/debian/changelog b/debian/changelog index aaab563..bd8d65d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -151,6 +151,9 @@ debbugs (2.4.2) UNRELEASED; urgency=low (closes: #402362) - Marking a bug as fixed now overrides a found at that exact version (closes: #395865) + - When searching by source package, include the source package itself + in the list of packages to search for, even if there is no binary + package called that. (closes: #414825) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100