Skip the release tests when bootstrapping

This commit is contained in:
Paul Howarth 2013-09-04 17:39:47 +01:00
parent 6c064ba936
commit dbbd1dd95d

View File

@ -1,7 +1,7 @@
Name: perl-CPAN-Meta-Check
Summary: Verify requirements in a CPAN::Meta object
Version: 0.007
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/CPAN-Meta-Check
@ -19,9 +19,12 @@ BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.88
# Release tests
# perl-Pod-Coverage-TrustPod -> perl-Pod-Eventual -> perl-Mixin-Linewise -> perl-YAML-Tiny -> perl-CPAN-Meta-Check
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -50,6 +53,9 @@ make test RELEASE_TESTING=1
%{_mandir}/man3/CPAN::Meta::Check.3pm*
%changelog
* Wed Sep 4 2013 Paul Howarth <paul@city-fan.org> - 0.007-3
- Skip the release tests when bootstrapping
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild