[perl-YAML] Do not run release tests on bootstrap

Petr Pisar ppisar at fedoraproject.org
Tue Jun 3 11:23:43 UTC 2014


commit d397f04663a784d1fd8b20c35ced5929904db921
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Jun 3 13:21:48 2014 +0200

    Do not run release tests on bootstrap

 perl-YAML.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/perl-YAML.spec b/perl-YAML.spec
index 5c975b5..a8e1054 100644
--- a/perl-YAML.spec
+++ b/perl-YAML.spec
@@ -1,6 +1,6 @@
 Name:           perl-YAML
 Version:        0.92
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        YAML Ain't Markup Language (tm)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -58,7 +58,8 @@ rm -f %{buildroot}%{perl_vendorlib}/Test/YAML* \
     %{buildroot}%{_mandir}/man3/Test::YAML*.3*
 
 %check
-make test RELEASE_TESTING=1
+# Avoid circular build deps via Module::Build on Test::Pod when bootstrapping
+make test RELEASE_TESTING=0%{!?perl_bootstrap:1}
 
 %files
 %doc Changes LICENSE README
@@ -77,6 +78,9 @@ make test RELEASE_TESTING=1
 %{_mandir}/man3/YAML::Types.3pm*
 
 %changelog
+* Tue Jun 03 2014 Petr Pisar <ppisar at redhat.com> - 0.92-2
+- Do not run release tests on bootstrap (bug #1104137)
+
 * Thu May 29 2014 Paul Howarth <paul at city-fan.org> 0.92-1
 - Update to 0.92
   - Metadata fixes (https://github.com/ingydotnet/yaml-pm/pull/23)


More information about the scm-commits mailing list