From 3657f6ca74b4be2b6c9ba4b1bad4363087cb25f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 11 Dec 2014 15:52:58 +0100 Subject: [PATCH] Disable non-core dependencies when bootstraping a core module --- perl-JSON-PP.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-JSON-PP.spec b/perl-JSON-PP.spec index 2ba5c3d..682342d 100644 --- a/perl-JSON-PP.spec +++ b/perl-JSON-PP.spec @@ -1,6 +1,6 @@ Name: perl-JSON-PP Version: 2.27300 -Release: 1%{?dist} +Release: 2%{?dist} Summary: JSON::XS compatible pure-Perl module License: GPL+ or Artistic Group: Development/Libraries @@ -34,7 +34,11 @@ BuildRequires: perl(Getopt::Long) BuildRequires: perl(Test::More) BuildRequires: perl(Tie::Array) BuildRequires: perl(Tie::Hash) +# Optional tests +%if !%{defined perl_bootstrap} +# Disable non-core dependencies when bootstraping a core module BuildRequires: perl(Tie::IxHash) +%endif # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Dumper) @@ -80,6 +84,9 @@ rm -rf %{buildroot} %{_mandir}/man3/JSON::PP::Boolean.3pm* %changelog +* Thu Dec 11 2014 Petr Pisar - 2.27300-2 +- Disable non-core dependencies when bootstraping a core module + * Wed Oct 8 2014 Paul Howarth - 2.27300-1 - Update to 2.27300 - Fixed a problem about substr in perl 5.8.6 and below