]> git.donarmstrong.com Git - debbugs.git/commitdiff
- When searching by source package, include the source package itself
authorDon Armstrong <don@volo>
Wed, 14 Mar 2007 06:03:47 +0000 (23:03 -0700)
committerDon Armstrong <don@volo>
Wed, 14 Mar 2007 06:03:47 +0000 (23:03 -0700)
    in the list of packages to search for, even if there is no binary
    package called that. (closes: #414825)

Debbugs/Bugs.pm
debian/changelog

index e412b4769935fd3f10c3b38a0b53f4b4c8d872f4..2246dec1d029a54eb994e8ccba6f8b52b13c480d 100644 (file)
@@ -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;
          }
index aaab5631a8786f82259249c4fe02fde9b571b2cd..bd8d65d15942dc46834279b0b87986fcf6924eb3 100644 (file)
@@ -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 <cjwatson@debian.org>  Fri, 20 Jun 2003 18:57:25 +0100