[perl-Module-Metadata] Skip optional POD tests on bootstrap
Petr Pisar
ppisar at fedoraproject.org
Fri Jun 1 13:02:19 UTC 2012
commit c12d004e3534103e7741d4c7c7dc76fc2dc28f4c
Author: Petr Písař <ppisar at 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 <ppisar at redhat.com> - 1.000009-2
+- Skip optional POD tests on bootstrap
+
* Thu Feb 9 2012 Paul Howarth <paul at city-fan.org> - 1.000009-1
- Update to 1.000009
- Adds 'provides' method to generate a CPAN META provides data structure
More information about the perl-devel
mailing list