[perl-Object-InsideOut] minimize impact of perl_bootstrap on tests

Iain Arnell iarnell at fedoraproject.org
Sat Jul 2 09:23:23 UTC 2011


commit db305e6524ebaa4f5be22267a3b6c5f47efab21e
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jul 2 11:13:20 2011 +0200

    minimize impact of perl_bootstrap on tests

 perl-Object-InsideOut.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-Object-InsideOut.spec b/perl-Object-InsideOut.spec
index 016870c..be4ed95 100644
--- a/perl-Object-InsideOut.spec
+++ b/perl-Object-InsideOut.spec
@@ -11,9 +11,9 @@ Source0:        http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/Object-Insi
 BuildArch:      noarch
 BuildRequires:  perl(Exception::Class) >= 1.29
 BuildRequires:  perl(Want) >= 0.12
-%if !%{defined perl_bootstrap}
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
+%if !%{defined perl_bootstrap}
 BuildRequires:  perl(Math::Random::MT::Auto)
 %endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -23,9 +23,7 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Scalar::Util) >= 1.23
 BuildRequires:  perl(Config)
-%if !%{defined perl_bootstrap}
 BuildRequires:  perl(Test::More) >= 0.5
-%endif
 BuildRequires:  perl(B)
 
 ### auto-added reqs!
@@ -67,9 +65,7 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 
 
 %check
-%if !%{defined perl_bootstrap}
 make test
-%endif
 
 %files
 %defattr(-,root,root,-)
@@ -80,6 +76,11 @@ make test
 
 %changelog
 * Sat Jul 02 2011 Iain Arnell <iarnell at gmail.com> 3.81-1
+- minimize the impact of perl_bootstrap on testing; it's only
+  perl-Math-Random-MT-Auto which causes circular deps and is
+  automatically skipped in tests if not available
+
+* Sat Jul 02 2011 Iain Arnell <iarnell at gmail.com> 3.81-1
 - update to latest upstream version
 
 * Tue Jun 28 2011 Marcela Mašláňová <mmaslano at redhat.com> - 3.79-2


More information about the scm-commits mailing list