Skip optional POD tests on bootstrap
This commit is contained in:
parent
5d057f735a
commit
c12d004e35
@ -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@redhat.com> - 1.000009-2
|
||||
- Skip optional POD tests on bootstrap
|
||||
|
||||
* Thu Feb 9 2012 Paul Howarth <paul@city-fan.org> - 1.000009-1
|
||||
- Update to 1.000009
|
||||
- Adds 'provides' method to generate a CPAN META provides data structure
|
||||
|
Loading…
Reference in New Issue
Block a user