From: Don Armstrong Date: Fri, 31 Mar 2017 02:26:13 +0000 (-0700) Subject: prefix src: to all source packages X-Git-Tag: release/2.6.0~145 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3397d5728b20b83fd6bf778e76a9746c4cef26a9;p=debbugs.git prefix src: to all source packages --- diff --git a/debian/changelog b/debian/changelog index 31158cb..e196974 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,6 +44,7 @@ debbugs (2.6.0~exp1) UNRELEASED; urgency=low (Closes: #800287) * debbugs-web now Breaks/Replaces debbugs (<< 2.4.2) (Closes: #717967) * Split source file properly (Closes: #858671). Thanks to James McCoy. + * Prefix 'src:' to all source package names. [ Niels Thykier ] * quitcgi() now returns 400/500 status codes instead of 200 (Closes: #584922) diff --git a/scripts/process b/scripts/process index 2f4341c..716e0a5 100755 --- a/scripts/process +++ b/scripts/process @@ -592,7 +592,8 @@ if ($ref<0) { # new bug report if (defined $pheader{source}) { # source packages are identified by the src: prefix - $data->{package} = 'src:'.$pheader{source}; + $data->{package} = $pheader{source}; + $data->{package} =~ s/(^|,\s*)/${1}src:/g; } elsif (defined $pheader{package}) { $data->{package} = $pheader{package}; if ($data->{package} =~ /^src:(.+)/) {