[libparse-http-useragent-perl] 09/10: Add a patch to fix the whatis entries in the POD.

gregor herrmann gregoa at debian.org
Mon Jan 1 22:49:27 UTC 2018


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

gregoa pushed a commit to branch master
in repository libparse-http-useragent-perl.

commit ab2248bdd5b25a300c062d1e95c94da61f5dd927
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jan 1 23:48:07 2018 +0100

    Add a patch to fix the whatis entries in the POD.
---
 debian/patches/manpage-whatis.patch | 140 ++++++++++++++++++++++++++++++++++++
 debian/patches/series               |   1 +
 2 files changed, 141 insertions(+)

diff --git a/debian/patches/manpage-whatis.patch b/debian/patches/manpage-whatis.patch
new file mode 100644
index 0000000..9ecc878
--- /dev/null
+++ b/debian/patches/manpage-whatis.patch
@@ -0,0 +1,140 @@
+Description: fix duplicate NAME sections in POD
+ and take the second, as the first lacks the whatis entry
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2018-01-01
+Forwarded: https://github.com/burak/CPAN-Parse-HTTP-UserAgent/issues/2
+Bug: 
+
+--- a/lib/Parse/HTTP/UserAgent.pm
++++ b/lib/Parse/HTTP/UserAgent.pm
+@@ -396,7 +396,7 @@
+ 
+ =head1 NAME
+ 
+-Parse::HTTP::UserAgent
++Parse::HTTP::UserAgent - Parser for the User Agent string
+ 
+ =head1 VERSION
+ 
+@@ -441,10 +441,6 @@
+ Netscape, Robots and the rest will be tried with a generic parser. There is
+ also a structure dumper, useful for debugging.
+ 
+-=head1 NAME
+-
+-Parse::HTTP::UserAgent - Parser for the User Agent string
+-
+ =head1 METHODS
+ 
+ =head2 new STRING [, OPTIONS ]
+--- a/lib/Parse/HTTP/UserAgent/Base/Accessors.pm
++++ b/lib/Parse/HTTP/UserAgent/Base/Accessors.pm
+@@ -98,7 +98,7 @@
+ 
+ =head1 NAME
+ 
+-Parse::HTTP::UserAgent::Base::Accessors
++Parse::HTTP::UserAgent::Base::Accessors - Available accessors
+ 
+ =head1 VERSION
+ 
+@@ -117,10 +117,6 @@
+ 
+ Ther methods can be used to access the various parts of the parsed structure.
+ 
+-=head1 NAME
+-
+-Parse::HTTP::UserAgent::Base::Accessors - Available accessors
+-
+ =head1 ACCESSORS
+ 
+ The parts of the parsed structure can be accessed using these methods:
+--- a/lib/Parse/HTTP/UserAgent/Base/Dumper.pm
++++ b/lib/Parse/HTTP/UserAgent/Base/Dumper.pm
+@@ -105,7 +105,7 @@
+ 
+ =head1 NAME
+ 
+-Parse::HTTP::UserAgent::Base::Dumper
++Parse::HTTP::UserAgent::Base::Dumper - Base class to dump parsed structure
+ 
+ =head1 VERSION
+ 
+@@ -115,10 +115,6 @@
+ 
+ The parsed structure can be dumped to a text table for debugging.
+ 
+-=head1 NAME
+-
+-Parse::HTTP::UserAgent::Base::Dumper - Base class to dump parsed structure
+-
+ =head1 METHODS
+ 
+ =head2 dumper
+--- a/lib/Parse/HTTP/UserAgent/Base/IS.pm
++++ b/lib/Parse/HTTP/UserAgent/Base/IS.pm
+@@ -160,7 +160,7 @@
+ 
+ =head1 NAME
+ 
+-Parse::HTTP::UserAgent::Base::IS
++Parse::HTTP::UserAgent::Base::IS - Base class
+ 
+ =head1 VERSION
+ 
+@@ -170,10 +170,6 @@
+ 
+ Internal module.
+ 
+-=head1 NAME
+-
+-Parse::HTTP::UserAgent::Base::IS - Base class
+-
+ =head1 SEE ALSO
+ 
+ L<Parse::HTTP::UserAgent>.
+--- a/lib/Parse/HTTP/UserAgent/Base/Parsers.pm
++++ b/lib/Parse/HTTP/UserAgent/Base/Parsers.pm
+@@ -945,7 +945,7 @@
+ 
+ =head1 NAME
+ 
+-Parse::HTTP::UserAgent::Base::Parsers
++Parse::HTTP::UserAgent::Base::Parsers - Base class
+ 
+ =head1 VERSION
+ 
+@@ -955,10 +955,6 @@
+ 
+ Internal module.
+ 
+-=head1 NAME
+-
+-Parse::HTTP::UserAgent::Base::Parsers - Base class
+-
+ =head1 SEE ALSO
+ 
+ L<Parse::HTTP::UserAgent>.
+--- a/lib/Parse/HTTP/UserAgent/Constants.pm
++++ b/lib/Parse/HTTP/UserAgent/Constants.pm
+@@ -190,7 +190,7 @@
+ 
+ =head1 NAME
+ 
+-Parse::HTTP::UserAgent::Constants
++Parse::HTTP::UserAgent::Constants - Various constants
+ 
+ =head1 VERSION
+ 
+@@ -200,10 +200,6 @@
+ 
+ Internal module
+ 
+-=head1 NAME
+-
+-Parse::HTTP::UserAgent::Constants - Various constants
+-
+ =head1 SEE ALSO
+ 
+ L<Parse::HTTP::UserAgent>.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..48af9e8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+manpage-whatis.patch

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



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