[libhttp-dav-perl] 14/15: Fix pod errors

Florian Schlichting fsfs at moszumanska.debian.org
Mon Jan 16 20:58:39 UTC 2017


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

fsfs pushed a commit to branch master
in repository libhttp-dav-perl.

commit c73019c0aacc254a9b93d845b6d8282a4a0f594b
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon Jan 16 21:55:07 2017 +0100

    Fix pod errors
---
 debian/patches/pod-issues.patch | 78 +++++++++++++++++++++++++++++++++++++++++
 debian/patches/series           |  1 +
 debian/rules                    |  5 +++
 3 files changed, 84 insertions(+)

diff --git a/debian/patches/pod-issues.patch b/debian/patches/pod-issues.patch
new file mode 100644
index 0000000..a6b191c
--- /dev/null
+++ b/debian/patches/pod-issues.patch
@@ -0,0 +1,78 @@
+Description: fix a number of pod issues that lintian warns about
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=119878
+
+--- a/lib/HTTP/DAV.pm
++++ b/lib/HTTP/DAV.pm
+@@ -1773,7 +1773,7 @@
+ 
+ See L<get()> for a description of what the optional callback parameter does.
+ 
+-You can also pass a C<-headers> argument. That allows to specify custom HTTP headers. It can be either a hashref with header names and values, or a L<HTTP::Headers> object.
++You can also pass a C<-headers> argument. That allows one to specify custom HTTP headers. It can be either a hashref with header names and values, or a L<HTTP::Headers> object.
+ 
+ B<put examples:>
+ 
+@@ -2045,7 +2045,7 @@
+ 
+ You'll want to also read:
+ 
+-=over *
++=over
+ 
+ =item C<HTTP::DAV::Response>
+ 
+@@ -2057,7 +2057,7 @@
+ 
+ and maybe if you're more inquisitive:
+ 
+-=over *
++=over
+ 
+ =item C<LWP::UserAgent>
+ 
+--- a/lib/HTTP/DAV/Lock.pm
++++ b/lib/HTTP/DAV/Lock.pm
+@@ -34,7 +34,12 @@
+ }
+ 
+ ###########################################################################
+-# ACCESSOR METHODS
++
++=head1 ACCESSOR METHODS
++
++=over
++
++=cut
+ 
+ # GET
+ sub get_owner { $_[0]->{_owner}; }
+--- a/lib/HTTP/DAV/Resource.pm
++++ b/lib/HTTP/DAV/Resource.pm
+@@ -1925,5 +1925,7 @@
+ 
+ Sets the parent resource list (ask the question, which collection am I a member of?). See L<HTTP::DAV::ResourceList>.
+ 
++=back
++
+ =cut
+ 
+--- a/lib/HTTP/DAV/Response.pm
++++ b/lib/HTTP/DAV/Response.pm
+@@ -189,7 +189,7 @@
+ 
+ HTTP::DAV::Response was created to handle two extra functions that normal HTTP Responses don't require:
+ 
+- - WebDAV reponses have 6 extra error codes: 102, 207, 422, 423, 424 and 507. Older versions of the LWP's C<HTTP::Status> class did not have these extra codes. These were added.
++ - WebDAV responses have 6 extra error codes: 102, 207, 422, 423, 424 and 507. Older versions of the LWP's C<HTTP::Status> class did not have these extra codes. These were added.
+ 
+  - WebDAV responses can actually contain more than one response (and often DO contain more than one) in the form of a "Multistatus". These multistatus responses come in the form of an XML document. HTTP::DAV::Response can accurately parse these XML responses and emulate the normal of the C<HTTP::Response>.
+ 
+@@ -313,5 +313,7 @@
+ 
+ This routine is a variant on the standard C<HTTP::Response> C<message()>. 
+ 
++=back
++
+ =cut
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..069d723
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pod-issues.patch
diff --git a/debian/rules b/debian/rules
index 2d33f6a..eaf9fd2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,8 @@
 
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	rm -f debian/libhttp-dav-perl/usr/share/perl5/HTTP/DAV/Changes.pod \
+	      debian/libhttp-dav-perl/usr/share/man/man3/HTTP::DAV::Changes.3pm

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



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