[libcatmandu-perl] 02/03: Add patches to upstream code to fix lintian warnings

Vasudev Kamath kamathvasudev at gmail.com
Thu Oct 2 17:46:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

vasudev-guest pushed a commit to branch master
in repository libcatmandu-perl.

commit c2a37bd784c0d5cd3868e9dbe3a32fc5fd7b9e2e
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date:   Thu Oct 2 23:12:11 2014 +0530

    Add patches to upstream code to fix lintian warnings
---
 debian/patches/1001_typo_fix_in_manpages.patch     | 29 ++++++++++++++++++++++
 .../patches/1002_add_NAME_section_to_manpage.patch | 19 ++++++++++++++
 debian/patches/series                              |  2 ++
 3 files changed, 50 insertions(+)

diff --git a/debian/patches/1001_typo_fix_in_manpages.patch b/debian/patches/1001_typo_fix_in_manpages.patch
new file mode 100644
index 0000000..7bfc216
--- /dev/null
+++ b/debian/patches/1001_typo_fix_in_manpages.patch
@@ -0,0 +1,29 @@
+Description: Fix typo in POD documentation part
+ There were typos in POD documentation part used to generate man
+ pages, and are fixed by this patch.
+Author: Vasudev Kamath <kamathvasudev at gmail.com>
+Forwarded: no
+Last-Update: 2014-10-01
+
+--- libcatmandu-perl-0.9204.orig/lib/Catmandu/Exporter.pm
++++ libcatmandu-perl-0.9204/lib/Catmandu/Exporter.pm
+@@ -59,7 +59,7 @@ Catmandu::Exporter - Namespace for packa
+ A Catmandu::Exporter is a Perl package the can export data. 
+ When no options are given exported data is written to
+ the stdout. Optionally provide a "file" pathname or a "fh" file handle to redirect the
+-ouput.
++output.
+ 
+ Every Catmandu::Exporter is a L<Catmandu::Fixable> and thus provides a "fix" parameter that
+ can be set in the constructor. For every "add" or for every item in "add_many" the given
+--- libcatmandu-perl-0.9204.orig/lib/Catmandu/Iterable.pm
++++ libcatmandu-perl-0.9204/lib/Catmandu/Iterable.pm
+@@ -544,7 +544,7 @@ $key is equal to any of the vals given.
+ 
+ =head2 pluck($key)
+ 
+-Return an Iterator that only containes the values of the given $key.
++Return an Iterator that only contains the values of the given $key.
+ 
+ =head2 select(\&callback)
+ 
diff --git a/debian/patches/1002_add_NAME_section_to_manpage.patch b/debian/patches/1002_add_NAME_section_to_manpage.patch
new file mode 100644
index 0000000..e1aca23
--- /dev/null
+++ b/debian/patches/1002_add_NAME_section_to_manpage.patch
@@ -0,0 +1,19 @@
+Description: Add missing NAME section to POD documentation
+ manpage was missing a required NAME section, this patch adds it
+Author: Vasudev Kamath <kamathvasudev at gmail.com>
+Forwarded: no
+Last-Update: 2014-10-01
+
+--- libcatmandu-perl-0.9204.orig/lib/Catmandu/Logger.pm
++++ libcatmandu-perl-0.9204/lib/Catmandu/Logger.pm
+@@ -14,6 +14,10 @@ sub _build_log {
+     Log::Any->get_logger(category => ref($self));
+ }
+ 
++=head1 NAME
++
++Catmandu::Logger - Logging class for Catmandu
++
+ =head1 SYNOPSIS
+ 
+     package MyApp::View;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..80cb7e8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+1001_typo_fix_in_manpages.patch
+1002_add_NAME_section_to_manpage.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git



More information about the Pkg-perl-cvs-commits mailing list