commit 129561a7b96ede977eb21134619401b4b6019dd0 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Jan 8 09:30:16 2015 +0100 Skip test on bootstrap because of non-core Devel::FindPerl perl-App-a2p.spec | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) --- diff --git a/perl-App-a2p.spec b/perl-App-a2p.spec index 4da761c..c3965b8 100644 --- a/perl-App-a2p.spec +++ b/perl-App-a2p.spec @@ -1,6 +1,6 @@ Name: perl-App-a2p Version: 1.007 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Awk to Perl translator License: GPL+ or Artistic Group: Development/Tools @@ -11,16 +11,19 @@ Source0: http://www.cpan.org/authors/id/L/LE/LEONT/App-a2p-%{version}.tar Patch0: App-a2p-1.007-Remove-alarm-call-from-test.patch BuildRequires: perl BuildRequires: perl(Config) -BuildRequires: perl(Devel::FindPerl) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Devel::FindPerl is a non-core module +%if !%{defined perl_bootstrap} +# Tests: +BuildRequires: perl(Devel::FindPerl) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(IPC::Open2) -BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.89 -BuildRequires: perl(warnings) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) - Conflicts: perl < 4:5.18.2-300 %description @@ -42,7 +45,9 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check +%if !%{defined perl_bootstrap} make test +%endif %files %doc Changes LICENSE README @@ -51,6 +56,9 @@ make test %{_mandir}/man1/* %changelog +* Thu Jan 08 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.007-4 +- Skip test on bootstrap because of non-core Devel::FindPerl + * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.007-3 - Perl 5.20 rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel