Avoid circular build deps via Module::Build when bootstrapping

This commit is contained in:
Paul Howarth 2014-02-28 19:36:24 +00:00
parent 24e96f6759
commit 2257bdb3f1

View File

@ -1,6 +1,6 @@
Name: perl-YAML
Version: 0.90
Release: 1%{?dist}
Release: 2%{?dist}
Summary: YAML Ain't Markup Language (tm)
License: GPL+ or Artistic
Group: Development/Libraries
@ -15,7 +15,11 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
# Avoid circular build deps via Module::Build when bootstrapping
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Test::Pod) >= 1.41
%endif
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
@ -72,6 +76,9 @@ make test RELEASE_TESTING=1
%{_mandir}/man3/YAML::Types.3pm*
%changelog
* Fri Feb 28 2014 Paul Howarth <paul@city-fan.org> - 0.90-2
- Avoid circular build deps via Module::Build when bootstrapping
* Tue Feb 11 2014 Paul Howarth <paul@city-fan.org> - 0.90-1
- Update to 0.90
- Revert Mo from 0.38 to 0.31 following a report of it breaking cpan client