Update to 1.003007

- New upstream release 1.003007
  - Bump prereq on JSON::PP, to ensure we get the fix for parsing utf8-encoded
    values
  - We now always upgrade JSON::XS if it is installed and below version 3.0,
    due to changes in handling booleans
  - Remove test dependency on Test::Without::Module (CPAN RT#115394)
- Simplify find command using -delete
This commit is contained in:
Paul Howarth 2016-09-12 17:25:54 +01:00
parent 2c6723f547
commit 6bb7746e92
2 changed files with 19 additions and 8 deletions

View File

@ -8,13 +8,16 @@
Name: perl-JSON-MaybeXS
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
Version: 1.003005
Release: 5%{?dist}
Version: 1.003007
Release: 1%{?dist}
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/JSON-MaybeXS/
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-MaybeXS-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
@ -29,12 +32,11 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite (wants JSON::PP ≥ 2.27202 really but EL-6 doesn't have that)
# Test Suite
BuildRequires: perl(if)
BuildRequires: perl(JSON::PP)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(JSON::PP) >= 2.27300
BuildRequires: perl(JSON::XS) >= 3.0
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Without::Module) >= 0.17
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Cpanel::JSON::XS) >= 2.3310
@ -62,7 +64,7 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}
%check
@ -74,6 +76,15 @@ make test
%{_mandir}/man3/JSON::MaybeXS.3*
%changelog
* Mon Sep 12 2016 Paul Howarth <paul@city-fan.org> - 1.003007-1
- Update to 1.003007
- Bump prereq on JSON::PP, to ensure we get the fix for parsing utf8-encoded
values
- We now always upgrade JSON::XS if it is installed and below version 3.0,
due to changes in handling booleans
- Remove test dependency on Test::Without::Module (CPAN RT#115394)
- Simplify find command using -delete
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.003005-5
- Perl 5.24 rebuild

View File

@ -1 +1 @@
653c088177982f8ac4e6b1697c2c94f4 JSON-MaybeXS-1.003005.tar.gz
576cdbd25bb10331c995cca870584be2 JSON-MaybeXS-1.003007.tar.gz