Package: libmodule-build-perl
Version: 0.28.0.5
Severity: important
Tags: patch

Hello,

the man pages produced by libmodule-build-perl are not conform to the 
checks performed by lintian since the specified section in the manpage
(1 or 3) does not reflect to the specified section by the file name's
suffix (1p or 3pm). The attached patch fixes this.

This is a bug for upstream but it is particularly us Debianers who have
lintian doing its job so nicely and many packages beyond this one are
affected.

The patch is for the more recent 0.2805 upstream version, I have not
checked if it also applies to the now outdated 0.26 that is currently
shipped with Debian. Most likely so.

Thanks

Steffen

--- Base.pm.orig        2007-09-12 14:25:40.394344421 +0200
+++ lib/Module/Build/Base.pm    2007-09-12 14:24:24.966616216 +0200
@@ -2537,7 +2537,7 @@
   foreach my $file (keys %$files) {
     # Pod::Simple based parsers only support one document per instance.
     # This is expected to change in a future version (Pod::Simple > 3.03).
-    my $parser  = Pod::Man->new( section => 1 ); # binaries go in section 1
+    my $parser  = Pod::Man->new( section => "1p" ); # binaries go in section 1p
     my $manpage = $self->man1page_name( $file ) . '.' .
                  $self->config( 'man1ext' );
     my $outfile = File::Spec->catfile($mandir, $manpage);
@@ -2561,7 +2561,7 @@
   while (my ($file, $relfile) = each %$files) {
     # Pod::Simple based parsers only support one document per instance.
     # This is expected to change in a future version (Pod::Simple > 3.03).
-    my $parser  = Pod::Man->new( section => 3 ); # libraries go in section 3
+    my $parser  = Pod::Man->new( section => "3pm" ); # libraries go in section 
3pm
     my $manpage = $self->man3page_name( $relfile ) . '.' .
                  $self->config( 'man3ext' );
     my $outfile = File::Spec->catfile( $mandir, $manpage);



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to