From 3c424e1a456e9cd8608304b2cb3fa52550014715 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Aug 05 2014 14:08:39 +0000 Subject: Do not run release and author tests on bootstrap --- diff --git a/perl-Module-Implementation.spec b/perl-Module-Implementation.spec index 843bb57..0f8c0cd 100644 --- a/perl-Module-Implementation.spec +++ b/perl-Module-Implementation.spec @@ -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 - 0.07-5 +- Do not run release and author tests on bootstrap + * Sat Jun 07 2014 Fedora Release Engineering - 0.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild