Disable non-core dependencies when bootstraping a core module

This commit is contained in:
Petr Písař 2014-12-11 15:52:58 +01:00
parent 0f704d8e20
commit 3657f6ca74

View File

@ -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 <ppisar@redhat.com> - 2.27300-2
- Disable non-core dependencies when bootstraping a core module
* Wed Oct 8 2014 Paul Howarth <paul@city-fan.org> - 2.27300-1
- Update to 2.27300
- Fixed a problem about substr in perl 5.8.6 and below