From c12d004e3534103e7741d4c7c7dc76fc2dc28f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 1 Jun 2012 15:02:03 +0200 Subject: [PATCH] Skip optional POD tests on bootstrap --- perl-Module-Metadata.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-Module-Metadata.spec b/perl-Module-Metadata.spec index 459b4c5..88826c3 100644 --- a/perl-Module-Metadata.spec +++ b/perl-Module-Metadata.spec @@ -1,6 +1,6 @@ Name: perl-Module-Metadata Version: 1.000009 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Gather package and POD information from perl module files License: GPL+ or Artistic Group: Development/Libraries @@ -29,8 +29,10 @@ BuildRequires: perl(File::Path) BuildRequires: perl(lib) BuildRequires: perl(Test::More) # Release tests +%if !%{defined perl_bootstrap} BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) +%endif # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -53,7 +55,9 @@ find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null %check make test +%if !%{defined perl_bootstrap} make test TEST_FILES="xt/*.t" +%endif %files %defattr(-,root,root,-) @@ -62,6 +66,9 @@ make test TEST_FILES="xt/*.t" %{_mandir}/man3/Module::Metadata.3pm* %changelog +* Fri Jun 01 2012 Petr Pisar - 1.000009-2 +- Skip optional POD tests on bootstrap + * Thu Feb 9 2012 Paul Howarth - 1.000009-1 - Update to 1.000009 - Adds 'provides' method to generate a CPAN META provides data structure