commit 9583ef9e0c5aa15a635d8972b7ff67a15f816cf0 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 Conflicts: perl-App-a2p.spec 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 154abec..410f07e 100644 --- a/perl-App-a2p.spec +++ b/perl-App-a2p.spec @@ -1,6 +1,6 @@ Name: perl-App-a2p Version: 1.007 -Release: 2%{?dist} +Release: 3%{?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-3 +- Skip test on bootstrap because of non-core Devel::FindPerl + * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.007-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_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