commit c12d004e3534103e7741d4c7c7dc76fc2dc28f4c
Author: Petr Písař <ppi...@redhat.com>
Date:   Fri Jun 1 15:02:03 2012 +0200

    Skip optional POD tests on bootstrap

 perl-Module-Metadata.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <ppi...@redhat.com> - 1.000009-2
+- Skip optional POD tests on bootstrap
+
 * Thu Feb  9 2012 Paul Howarth <p...@city-fan.org> - 1.000009-1
 - Update to 1.000009
   - Adds 'provides' method to generate a CPAN META provides data structure
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to