[perl-Cpanel-JSON-XS] Break build cycles

Petr Pisar ppisar at fedoraproject.org
Wed Oct 22 13:30:53 UTC 2014


commit 07af685218809324e51f08bbb10f44432437887a
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Oct 22 14:56:52 2014 +0200

    Break build cycles

 perl-Cpanel-JSON-XS.spec |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/perl-Cpanel-JSON-XS.spec b/perl-Cpanel-JSON-XS.spec
index 7a1add2..e9578ee 100644
--- a/perl-Cpanel-JSON-XS.spec
+++ b/perl-Cpanel-JSON-XS.spec
@@ -1,7 +1,7 @@
 Name:		perl-Cpanel-JSON-XS
 Summary:	JSON::XS for Cpanel, fast and correct serializing
 Version:	3.0104
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/Cpanel-JSON-XS/
 Source0:	http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-%{version}.tar.gz
@@ -29,12 +29,23 @@ BuildRequires:	perl(JSON)
 BuildRequires:	perl(JSON::XS)
 BuildRequires:	perl(strict)
 BuildRequires:	perl(Test)
-BuildRequires:	perl(Test::LeakTrace)
 BuildRequires:	perl(Test::More) >= 0.88
 BuildRequires:	perl(Tie::Array)
 BuildRequires:	perl(Tie::Hash)
 BuildRequires:	perl(utf8)
 BuildRequires:	perl(warnings)
+%if !%{defined perl_bootstrap}
+# Cycle: perl-Cpanel-JSON-XS → perl-Test-LeakTrace → perl-Module-Install
+# → perl-YAML-Tiny → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
+# Cycle: perl-Cpanel-JSON-XS → perl-Perl-MinimumVersion → perl-PPI
+# → perl-List-MoreUtils → perl-Test-LeakTrace → perl-Module-Install
+# → perl-YAML-Tiny → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
+# Cycle: perl-Cpanel-JSON-XS → perl-Test-MinimumVerion → perl-YAML-Tiny
+# → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
+# Cycle: perl-Cpanel-JSON-XS → perl-Test-Kwalitee → perl-Module-CPANTS-Analyse
+# → perl-JSON-MaybeXS → perl-Cpanel-JSON-XS
+# Optional tests:
+BuildRequires:	perl(Test::LeakTrace)
 # Maintainer Tests
 BuildRequires:	perl(File::Copy)
 BuildRequires:	perl(Perl::MinimumVersion) >= 1.20
@@ -43,6 +54,7 @@ BuildRequires:	perl(Test::Kwalitee)
 BuildRequires:	perl(Test::MinimumVersion) >= 0.008
 BuildRequires:	perl(Test::Pod) >= 1.00
 BuildRequires:	perl(Test::Pod::Coverage) >= 1.04
+%endif
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:	perl(Carp)
@@ -80,7 +92,7 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
-make test IS_MAINTAINER=1 RELEASE_TESTING=1
+make test IS_MAINTAINER=1 %{!?perl_bootstrap:RELEASE_TESTING=1}
 
 %files
 %doc Changes COPYING README eg/
@@ -92,6 +104,9 @@ make test IS_MAINTAINER=1 RELEASE_TESTING=1
 %{_mandir}/man3/Cpanel::JSON::XS::Boolean.3pm*
 
 %changelog
+* Wed Oct 22 2014 Petr Pisar <ppisar at redhat.com> - 3.0104-5
+- Break build cycles
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 3.0104-4
 - Perl 5.20 rebuild
 


More information about the scm-commits mailing list