[SCM] Debian packaging of Text-RewriteRules CPAN distribution branch, master, updated. 4714723674193ad853b5fa48c15e7eeb8866cd4d
Nuno Carvalho
smash at cpan.org
Fri May 4 14:06:00 UTC 2012
The following commit has been merged in the master branch:
commit fba8d8ad181ec56a95f991691ed6aa32702ed107
Author: Nuno Carvalho <smash at cpan.org>
Date: Fri May 4 15:03:36 2012 +0100
Create patch to add missing manpage (also applied upstream)
diff --git a/debian/changelog b/debian/changelog
index 9c618e0..55f9702 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,5 @@
libtext-rewriterules-perl (0.23-1) UNRELEASED; urgency=low
- TODO:
- - scripts/textrr:
- - Install it as example?
- - If installed into /usr/bin/ write a small manpage to know what is textrr
- for.
-
* Initial Release. (Closes: #670327)
-- Nuno Carvalho <smash at cpan.org> Tue, 24 Apr 2012 23:01:09 +0100
diff --git a/debian/patches/add_script_manpage.patch b/debian/patches/add_script_manpage.patch
new file mode 100644
index 0000000..65b1a08
--- /dev/null
+++ b/debian/patches/add_script_manpage.patch
@@ -0,0 +1,30 @@
+Description: add script manpage
+Author: Nuno Carvalho <smash at cpan.org>
+Applied-Upstream: 0.24
+--- a/scripts/textrr
++++ b/scripts/textrr
+@@ -3,3 +3,24 @@
+ use Text::RewriteRules;
+ use strict;
+ Text::RewriteRules::_compiler();
++
++=head1 NAME
++
++textrr - rewrite rules compiler
++
++=head1 SYNOPSIS
++
++ $ textrr file.rr > file.pl
++
++=head1 DESCRIPTION
++
++L<Text::RewriteRules> converts rules into Perl on the fly. For
++efficiency purposes, you can compile the rules into Perl code,
++removing the overhead of parsing them when starting the script, and
++removing the dependency to this module.
++
++=head1 SEE ALSO
++
++Text::RewriteRules
++
++=cut
diff --git a/debian/patches/series b/debian/patches/series
index 48dc2d5..245b896 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+add_script_manpage.patch
fix_typos.patch
--
Debian packaging of Text-RewriteRules CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list