commit b21b4b9d7192585d8cf9ad084a124c8e81c67750 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Tue Aug 12 13:04:37 2014 +0200 Disable tests when bootstrapping perl-YAML.spec | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) --- diff --git a/perl-YAML.spec b/perl-YAML.spec index 0148935..7c3d873 100644 --- a/perl-YAML.spec +++ b/perl-YAML.spec @@ -1,6 +1,6 @@ Name: perl-YAML Version: 1.01 -Release: 1%{?dist} +Release: 2%{?dist} Summary: YAML Ain't Markup Language (tm) License: GPL+ or Artistic Group: Development/Libraries @@ -16,13 +16,13 @@ BuildRequires: perl(ExtUtils::MakeMaker) > 6.75 BuildRequires: perl(lib) BuildRequires: perl(overload) BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Avoid circular build deps Test::YAML > Test::Base > YAML when bootstrapping +%if !%{defined perl_bootstrap} BuildRequires: perl(Test::More) >= 0.88 -# Avoid circular build deps via Module::Build when bootstrapping -%if 0%{!?perl_bootstrap:1} BuildRequires: perl(Test::Pod) >= 1.41 -%endif BuildRequires: perl(Test::YAML) >= 1.01 -BuildRequires: perl(warnings) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) Requires: perl(Data::Dumper) @@ -51,8 +51,10 @@ make %{?_smp_mflags} make install DESTDIR=%{buildroot} %check -# Avoid circular build deps via Module::Build on Test::Pod when bootstrapping -make test %{!?perl_bootstrap:RELEASE_TESTING=1} +# Avoid circular build deps Test::YAML > Test::Base > YAML when bootstrapping +%if !%{defined perl_bootstrap} +make test +%endif %files %license LICENSE @@ -96,6 +98,9 @@ make test %{!?perl_bootstrap:RELEASE_TESTING=1} %{_mandir}/man3/YAML::Types.3pm* %changelog +* Tue Aug 12 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.01-2 +- Disable tests when bootstrapping + * Fri Aug 8 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.01-1 - Update to 1.01 - Depend on patched Test::YAML -- 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