r55673 - in /trunk/libhttp-oai-perl: debian/changelog debian/patches/ debian/patches/debian-changes-3.22-1 debian/patches/series lib/HTTP/OAI/Record.pm lib/HTTP/OAI/UserAgent.pm
lars at users.alioth.debian.org
lars at users.alioth.debian.org
Wed Apr 7 23:34:54 UTC 2010
Author: lars
Date: Wed Apr 7 23:34:18 2010
New Revision: 55673
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55673
Log:
Change two PODs with long lines by adding spaces, to allow man to
break lines within 80 chars.
Added:
trunk/libhttp-oai-perl/debian/patches/
trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1
trunk/libhttp-oai-perl/debian/patches/series
Modified:
trunk/libhttp-oai-perl/debian/changelog
trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm
trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm
Modified: trunk/libhttp-oai-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/changelog?rev=55673&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/debian/changelog (original)
+++ trunk/libhttp-oai-perl/debian/changelog Wed Apr 7 23:34:18 2010
@@ -7,5 +7,7 @@
the upstream maintainer.
* Rename oai_browser.pl to oai_browser, upon installation. Manpage,
too.
+ * Change two PODs with long lines by adding spaces, to allow man to
+ break lines within 80 chars.
- -- Lars Wirzenius <lars at catalyst.net.nz> Thu, 08 Apr 2010 11:15:18 +1200
+ -- Lars Wirzenius <lars at catalyst.net.nz> Thu, 08 Apr 2010 11:34:02 +1200
Added: trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1?rev=55673&op=file
==============================================================================
--- trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1 (added)
+++ trunk/libhttp-oai-perl/debian/patches/debian-changes-3.22-1 Wed Apr 7 23:34:18 2010
@@ -1,0 +1,32 @@
+Description: Fix long lines in PODs so that manual pages format well.
+ There are two PODs that each contain a long line, describing how to
+ use a method with many optional arguments. These lines cause man(1)
+ to have trouble breaking the line so it fits in 80 columns. This
+ patch introduces some spaces into the lines to allow line breaking.
+Author: Lars Wirzenius <lars at catalyst.net.nz>
+Bug-Debian: http://bugs.debian.org/576757
+Forwarded: no
+Last-Update: 2010-04-08
+
+--- libhttp-oai-perl-3.22.orig/lib/HTTP/OAI/UserAgent.pm
++++ libhttp-oai-perl-3.22/lib/HTTP/OAI/UserAgent.pm
+@@ -274,7 +274,7 @@ This constructor method returns a new in
+
+ Requests the HTTP response defined by $req, which is a L<HTTP::Request|HTTP::Request> object.
+
+-=item $r = $ua->request(baseURL=>$baseref,verb=>$verb,[from=>$from],[until=>$until],[resumptionToken=>$token],[metadataPrefix=>$mdp],[set=>$set],[oainame=>$oaivalue],...)
++=item $r = $ua->request(baseURL=>$baseref, verb=>$verb, [from=>$from], [until=>$until], [resumptionToken=>$token], [metadataPrefix=>$mdp], [set=>$set], [oainame=>$oaivalue], ...)
+
+ Makes an HTTP request to the given OAI server (baseURL) with OAI arguments. Returns an HTTP::Response object.
+
+--- libhttp-oai-perl-3.22.orig/lib/HTTP/OAI/Record.pm
++++ libhttp-oai-perl-3.22/lib/HTTP/OAI/Record.pm
+@@ -112,7 +112,7 @@ HTTP::OAI::Record - Encapsulates an OAI
+
+ =over 4
+
+-=item $r = new HTTP::OAI::Record([header=>$header],[metadata=>$metadata],[about=>[$about]])
++=item $r = new HTTP::OAI::Record([header=>$header], [metadata=>$metadata], [about=>[$about]])
+
+ This constructor method returns a new C<HTTP::OAI::Record object>. Optionally set the header, metadata, and add an about.
+
Added: trunk/libhttp-oai-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/debian/patches/series?rev=55673&op=file
==============================================================================
--- trunk/libhttp-oai-perl/debian/patches/series (added)
+++ trunk/libhttp-oai-perl/debian/patches/series Wed Apr 7 23:34:18 2010
@@ -1,0 +1,1 @@
+debian-changes-3.22-1
Modified: trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm?rev=55673&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm (original)
+++ trunk/libhttp-oai-perl/lib/HTTP/OAI/Record.pm Wed Apr 7 23:34:18 2010
@@ -112,7 +112,7 @@
=over 4
-=item $r = new HTTP::OAI::Record([header=>$header],[metadata=>$metadata],[about=>[$about]])
+=item $r = new HTTP::OAI::Record([header=>$header], [metadata=>$metadata], [about=>[$about]])
This constructor method returns a new C<HTTP::OAI::Record object>. Optionally set the header, metadata, and add an about.
Modified: trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm?rev=55673&op=diff
==============================================================================
--- trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm (original)
+++ trunk/libhttp-oai-perl/lib/HTTP/OAI/UserAgent.pm Wed Apr 7 23:34:18 2010
@@ -274,7 +274,7 @@
Requests the HTTP response defined by $req, which is a L<HTTP::Request|HTTP::Request> object.
-=item $r = $ua->request(baseURL=>$baseref,verb=>$verb,[from=>$from],[until=>$until],[resumptionToken=>$token],[metadataPrefix=>$mdp],[set=>$set],[oainame=>$oaivalue],...)
+=item $r = $ua->request(baseURL=>$baseref, verb=>$verb, [from=>$from], [until=>$until], [resumptionToken=>$token], [metadataPrefix=>$mdp], [set=>$set], [oainame=>$oaivalue], ...)
Makes an HTTP request to the given OAI server (baseURL) with OAI arguments. Returns an HTTP::Response object.
More information about the Pkg-perl-cvs-commits
mailing list