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
epel9
Paul Howarth 8 years ago
parent 2c6723f547
commit 6bb7746e92

@ -8,13 +8,16 @@
Name: perl-JSON-MaybeXS Name: perl-JSON-MaybeXS
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
Version: 1.003005 Version: 1.003007
Release: 5%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/JSON-MaybeXS/ URL: http://search.cpan.org/dist/JSON-MaybeXS/
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-MaybeXS-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-MaybeXS-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27 BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
@ -29,12 +32,11 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) 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(if)
BuildRequires: perl(JSON::PP) BuildRequires: perl(JSON::PP) >= 2.27300
BuildRequires: perl(JSON::XS) BuildRequires: perl(JSON::XS) >= 3.0
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Without::Module) >= 0.17
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Cpanel::JSON::XS) >= 2.3310 Requires: perl(Cpanel::JSON::XS) >= 2.3310
@ -62,7 +64,7 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
@ -74,6 +76,15 @@ make test
%{_mandir}/man3/JSON::MaybeXS.3* %{_mandir}/man3/JSON::MaybeXS.3*
%changelog %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 * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.003005-5
- Perl 5.24 rebuild - Perl 5.24 rebuild

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

Loading…
Cancel
Save