Do not run release and author tests on bootstrap
This commit is contained in:
parent
cce2805293
commit
3c424e1a45
@ -9,7 +9,7 @@
|
||||
|
||||
Name: perl-Module-Implementation
|
||||
Version: 0.07
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Loads one of several alternate underlying implementations for a module
|
||||
Group: Development/Libraries
|
||||
License: Artistic 2.0
|
||||
@ -43,6 +43,10 @@ BuildRequires: perl(Test::Taint)
|
||||
# ===================================================================
|
||||
# Author/Release test requirements
|
||||
# ===================================================================
|
||||
# Release tests include circular dependencies, so don't do them when bootstrapping:
|
||||
# Test::CPAN::Changes -> Moo -> stricture -> indirect -> Test::Kwalitee ->
|
||||
# namespace::clean -> [B::Hooks::EndOfScope|Package::Stash] -> Module::Implementation
|
||||
%if ! %{defined perl_bootstrap}
|
||||
%if %{cpan_changes_available}
|
||||
BuildRequires: perl(Test::CPAN::Changes) >= 0.19
|
||||
%endif
|
||||
@ -59,6 +63,7 @@ BuildRequires: aspell-en
|
||||
BuildRequires: perl(Pod::Wordlist::hanekomu)
|
||||
BuildRequires: perl(Test::Spelling) >= 0.12
|
||||
%endif
|
||||
%endif
|
||||
# ===================================================================
|
||||
# Runtime requirements
|
||||
# ===================================================================
|
||||
@ -95,12 +100,16 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
%if %{defined perl_bootstrap}
|
||||
make test
|
||||
%else
|
||||
# Don't run the author tests for EL builds (see above)
|
||||
%if ! 0%{?rhel}
|
||||
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
||||
%else
|
||||
make test RELEASE_TESTING=1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -111,6 +120,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Module::Implementation.3pm*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 05 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-5
|
||||
- Do not run release and author tests on bootstrap
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user