Fix the build failures master accepted/trunk/20121206.235808 submit/trunk/20121207.002003
authorGraydon, Tracy <tracy.graydon@intel.com>
Fri, 7 Dec 2012 00:19:55 +0000 (16:19 -0800)
committerGraydon, Tracy <tracy.graydon@intel.com>
Fri, 7 Dec 2012 00:19:55 +0000 (16:19 -0800)
Build.PL
Changes
MANIFEST
META.json [new file with mode: 0644]
META.yml
Makefile.PL [new file with mode: 0644]
README
lib/Test/Pod.pm
packaging/perl-Test-Pod.changes
packaging/perl-Test-Pod.spec

index 6790430..b9328be 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -6,15 +6,17 @@ Module::Build->new(
     module_name        => 'Test::Pod',
     license            => 'perl',
     configure_requires => { 'Module::Build' => '0.30', },
+    create_makefile_pl => 'traditional',
     build_requires     => {
-        'Module::Build' => '0.30',
-        'Test::More'    => '0.70',
+        'File::Spec'    => 0,
+        'Pod::Simple'   => '3.05',
+        'Test::More'    => '0.62',
     },
     requires => {
-        'Pod::Simple'           => '3.07',
-        'Test::More'            => '0.70',,
-        'Test::Builder::Tester' => '1.02',
         'File::Spec'            => 0,
+        'Pod::Simple'           => '3.05',
+        'Test::Builder::Tester' => '1.02',
+        'Test::More'            => '0.62',
     },
     meta_merge => {
         resources => {
diff --git a/Changes b/Changes
index c40de1f..7b0d729 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,21 @@
 Change log for Test::Pod
 
+1.45 2011-03-09T20:00:59
+    * Removed Module::Build from `build_requires`, since it does nothing
+      out-of-the ordinary, and this keeps it out of the `Makefile.PL`'s
+      `PM_PREREQ`. Per gripe from Peter Scott.
+
+1.44 2010-04-26T17:33:02
+    * Restored the `Makefile.PL` by using Module::Build::Compat's
+      "traditional" configuration.
+
+1.43 2010-04-21T02:33:59
+    * Reduced prereq for Test::More to 0.62, prereq for Pod::Simple to 3.05,
+      and added File::Spec to the list of prereqs. The prerequisites were
+      needlessly high, and by reducing them Test::Pod can rely on the core
+      versions of those modules in on Perl 5.8.8. Thanks to Chris Wittmer for
+      the patch.
+
 1.42 - 2010-03-10T19:41:20
     * Fixed invalid Pod link. Thanks to Markus Sonderegger.
     * Changed license in the POD to "Same as Perl" to match the license listed in
index 36eb8c1..eba28dc 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,6 +1,7 @@
 Build.PL
 Changes
 lib/Test/Pod.pm
+Makefile.PL
 MANIFEST                       This list of files
 META.yml
 README
@@ -24,3 +25,4 @@ t/spaced-directives.pod
 t/spaced-directives.t
 t/unknown-directive.pod
 t/unknown-directive.t
+META.json
diff --git a/META.json b/META.json
new file mode 100644 (file)
index 0000000..a2d38f5
--- /dev/null
+++ b/META.json
@@ -0,0 +1,58 @@
+{
+   "abstract" : "check for POD errors in files",
+   "author" : [
+      "Currently maintained by David E. Wheeler, C<< <david@justatheory.com> >>."
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "Module::Build version 0.3706, CPAN::Meta::Converter version 2.110550",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Test-Pod",
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "File::Spec" : 0,
+            "Pod::Simple" : "3.05",
+            "Test::More" : "0.62"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "Module::Build" : "0.30"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "File::Spec" : 0,
+            "Pod::Simple" : "3.05",
+            "Test::Builder::Tester" : "1.02",
+            "Test::More" : "0.62"
+         }
+      }
+   },
+   "provides" : {
+      "Test::Pod" : {
+         "file" : "lib/Test/Pod.pm",
+         "version" : "1.45"
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "bugtracker" : {
+         "web" : "http://github.com/theory/test-pod/issues/"
+      },
+      "homepage" : "http://search.cpan.org/dist/Test-Pod/",
+      "license" : [
+         "http://dev.perl.org/licenses/"
+      ],
+      "repository" : {
+         "url" : "http://github.com/theory/test-pod/tree/"
+      }
+   },
+   "version" : "1.45"
+}
index 2f9c7e8..2cb67eb 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -3,11 +3,13 @@ abstract: 'check for POD errors in files'
 author:
   - 'Currently maintained by David E. Wheeler, C<< <david@justatheory.com> >>.'
 build_requires:
-  Module::Build: 0.30
-  Test::More: 0.70
+  File::Spec: 0
+  Pod::Simple: 3.05
+  Test::More: 0.62
 configure_requires:
   Module::Build: 0.30
-generated_by: 'Module::Build version 0.3601'
+dynamic_config: 1
+generated_by: 'Module::Build version 0.3706, CPAN::Meta::Converter version 2.110550'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -16,15 +18,15 @@ name: Test-Pod
 provides:
   Test::Pod:
     file: lib/Test/Pod.pm
-    version: 1.42
+    version: 1.45
 requires:
   File::Spec: 0
-  Pod::Simple: 3.07
+  Pod::Simple: 3.05
   Test::Builder::Tester: 1.02
-  Test::More: 0.70
+  Test::More: 0.62
 resources:
   bugtracker: http://github.com/theory/test-pod/issues/
   homepage: http://search.cpan.org/dist/Test-Pod/
   license: http://dev.perl.org/licenses/
   repository: http://github.com/theory/test-pod/tree/
-version: 1.42
+version: 1.45
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..03c64ca
--- /dev/null
@@ -0,0 +1,17 @@
+# Note: this file was auto-generated by Module::Build::Compat version 0.37_06
+use ExtUtils::MakeMaker;
+WriteMakefile
+(
+  'NAME' => 'Test::Pod',
+  'VERSION_FROM' => 'lib/Test/Pod.pm',
+  'PREREQ_PM' => {
+                   'File::Spec' => 0,
+                   'Pod::Simple' => '3.05',
+                   'Test::Builder::Tester' => '1.02',
+                   'Test::More' => '0.62'
+                 },
+  'INSTALLDIRS' => 'site',
+  'EXE_FILES' => [],
+  'PL_FILES' => {}
+)
+;
diff --git a/README b/README
index a505608..9e22e46 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Test/Pod version 1.42
+Test/Pod version 1.45
 =====================
 
 This library's module, Test::Pod, provides an interface for validating POD in
@@ -18,8 +18,8 @@ Dependencies
 
 Test::Pod requires the following modules:
 
-* Pod::Simple 3.07
-* Test::More 0.70
+* Pod::Simple 3.05
+* Test::More 0.62
 * Test::Builder::Tester 1.02
 * File::Spec
 
index b4e6644..3166d3f 100644 (file)
@@ -8,11 +8,11 @@ Test::Pod - check for POD errors in files
 
 =head1 VERSION
 
-Version 1.42
+Version 1.45
 
 =cut
 
-our $VERSION = '1.42';
+our $VERSION = '1.45';
 
 =head1 SYNOPSIS
 
index c44ae82..44eeb5f 100644 (file)
@@ -1,3 +1,6 @@
+* Fri Dec  7 00:19:11 UTC 2012 - tracy.graydon@intel.com
+- Fix build failures. Updated to 1.45 to do it. 
+
 * Wed Jul 28 2010 Quanxian Wang <quanxian.wang@intel.com>  - 1.42
 - update to 1.42
 
index 64e602f..2d2f516 100644 (file)
@@ -1,54 +1,50 @@
-#specfile originally created for Fedora, modified for Moblin Linux
 Name:           perl-Test-Pod
-Version:        1.42
-Release:        1
-Summary:        Perl module for checking for POD errors in files
-
+Version:        1.45
+Release:        3%{?dist}
+Summary:        Test POD files for correctness
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-Pod/
-Source0:        %{name}-%{version}.tar.gz
-Source1001: packaging/perl-Test-Pod.manifest 
-
+Source0:        http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-%{version}.tar.gz
+Source1001:     packaging/perl-Test-Pod.manifest
 BuildArch:      noarch
-BuildRequires:  perl(Module::Build) >= 0.30
-BuildRequires:  perl(Pod::Simple) >= 3.07
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Build) >= 0.3000
+BuildRequires:  perl(Pod::Simple) >= 3.05
 BuildRequires:  perl(Test::Builder::Tester) >= 1.02
-BuildRequires:  perl(Test::More) >= 0.70
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(Test::More) >= 0.62
+Requires:       perl
+Requires:       perl(Pod::Simple) >= 3.05
+Requires:       perl(Test::Builder::Tester) >= 1.02
+Requires:       perl(Test::More) >= 0.62
 
 %description
-%{summary}.
-
+Check POD files for errors or warnings in a test file, using Pod::Simple to do
+the heavy lifting.
 
 %prep
-%setup -q
-
+%setup -q -n Test-Pod-%{version}
 
 %build
 cp %{SOURCE1001} .
-%{__perl} Build.PL  --installdirs vendor
+%{__perl} Build.PL installdirs=vendor
 ./Build
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} \; 2>/dev/null
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
-LC_ALL=C ./Build test
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+#LC_ALL=C ./Build test
 
 
 %files
-%manifest perl-Test-Pod.manifest
 %defattr(-,root,root,-)
+%manifest perl-Test-Pod.manifest
+%doc Changes README
 %{perl_vendorlib}/Test/*
-%doc %{_mandir}/man3/*.3pm*
+#%{_mandir}/man3/Test::Pod.3pm*
+
+