[dh-make-perl] 01/03: DhMakePerl::Command::Packaging: replace "This plugin" with the module name
gregor herrmann
gregoa at debian.org
Fri Oct 21 13:55:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository dh-make-perl.
commit 0c7ad8a166330d874a0465e8b2aeb4f322d649b5
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Oct 21 15:53:31 2016 +0200
DhMakePerl::Command::Packaging: replace "This plugin" with the module name
in the long description, like we already did with "This module" and "This
library".
---
lib/DhMakePerl/Command/Packaging.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/DhMakePerl/Command/Packaging.pm b/lib/DhMakePerl/Command/Packaging.pm
index 1680516..2b07ac4 100644
--- a/lib/DhMakePerl/Command/Packaging.pm
+++ b/lib/DhMakePerl/Command/Packaging.pm
@@ -712,8 +712,7 @@ sub extract_desc {
|| $parser->get('DETAILS')
|| '';
( $modulename = $self->perlname ) =~ s/-/::/g;
- $long_desc =~ s/This module/$modulename/;
- $long_desc =~ s/This library/$modulename/;
+ $long_desc =~ s/This (?:module|library|plugin)/$modulename/;
local ($Text::Wrap::columns) = 78;
$long_desc = fill( "", "", $long_desc );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git
More information about the Pkg-perl-cvs-commits
mailing list