At least, fix the MakeMaker build_man tests.
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / MM_Any.pm
index 6235ac9..48cec18 100644 (file)
@@ -2,7 +2,7 @@ package ExtUtils::MM_Any;
 
 use strict;
 use vars qw($VERSION @ISA);
-$VERSION = '0.13_02';
+$VERSION = '0.15';
 
 use Carp;
 use File::Spec;
@@ -676,10 +676,6 @@ sub manifypods_target {
         $dependencies .= " \\\n\t$name";
     }
 
-    foreach my $name (keys %{$self->{MAN3PODS}}) {
-        $dependencies .= " \\\n\t$name"
-    }
-
     my $manify = <<END;
 manifypods : pure_all $dependencies
 END
@@ -707,10 +703,7 @@ Generate the metafile target.
 
 Writes the file META.yml YAML encoded meta-data about the module in
 the distdir.  The format follows Module::Build's as closely as
-possible.  Additionally, we include:
-
-    version_from
-    installdirs
+possible.
 
 =cut
 
@@ -733,10 +726,9 @@ MAKE_FRAG
         name         => $self->{DISTNAME},
         version      => $self->{VERSION},
         abstract     => $self->{ABSTRACT},
-        license      => $self->{LICENSE} || 'unknown',
+        license      => $self->{LICENSE},
         generated_by => 
                 "ExtUtils::MakeMaker version $ExtUtils::MakeMaker::VERSION",
-        author       => $self->{AUTHOR},
         distribution_type => $self->{PM} ? 'module' : 'script',
     );
 
@@ -750,11 +742,16 @@ MAKE_FRAG
         $meta .= sprintf "%-20s %s\n", "$key:", $val;
     };
 
-    $meta .= <<YAML;
+    $meta .= <<"YAML";
 requires:     $prereq_pm
 meta-spec:
-    url: <http://module-build.sourceforge.net/META-spec-new.html>;
-    version: 1.1
+    url:     http://module-build.sourceforge.net/META-spec-v1.2.html
+    version: 1.2
+YAML
+
+    $meta .= <<"YAML" if defined $self->{AUTHOR};
+author:
+    - $self->{AUTHOR}
 YAML
 
     $meta .= $self->{EXTRA_META} if $self->{EXTRA_META};