[perl-YAML] Avoid circular build deps via Module::Build when bootstrapping

Paul Howarth pghmcfc at fedoraproject.org
Fri Feb 28 19:35:39 UTC 2014


commit 2257bdb3f1557a44ae9bec34a26ad312629bb6fe
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Feb 28 19:36:24 2014 +0000

    Avoid circular build deps via Module::Build when bootstrapping

 perl-YAML.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-YAML.spec b/perl-YAML.spec
index 7932de9..456598c 100644
--- a/perl-YAML.spec
+++ b/perl-YAML.spec
@@ -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 at city-fan.org> - 0.90-2
+- Avoid circular build deps via Module::Build when bootstrapping
+
 * Tue Feb 11 2014 Paul Howarth <paul at 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


More information about the scm-commits mailing list