commit 1f8ee384b3380f75f8e7f3fac5ed50afc938116d Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Jun 1 15:38:48 2012 +0200 Skip author tests on bootstrap perl-Perl-OSType.spec | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) --- diff --git a/perl-Perl-OSType.spec b/perl-Perl-OSType.spec index 39f82fe..ada99ab 100644 --- a/perl-Perl-OSType.spec +++ b/perl-Perl-OSType.spec @@ -6,7 +6,7 @@ Name: perl-Perl-OSType Version: 1.002 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Map Perl operating system names to generic types License: GPL+ or Artistic Group: Development/Libraries @@ -20,12 +20,15 @@ BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::More) +# Optional tests +%if !%{defined perl_bootstrap} BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Test::CPAN::Meta) -BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Portability::Files) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description @@ -63,6 +66,9 @@ find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null %{_fixperms} %{buildroot} %check +%if %{defined perl_bootstrap} +rm -rf xt +%endif make test TEST_FILES="t/*.t xt/*/*.t" %clean @@ -75,6 +81,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Perl::OSType.3pm* %changelog +* Fri Jun 01 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.002-10 +- Skip author tests on bootstrap + * Thu Jan 12 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 1.002-9 - Fedora 17 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