Update to 4.04

- New upstream release 4.04
  - Fix bignum NaN/inf handling (GH#78)
  - Move author tests to xt/ as suggested in GH#106, added a make xtest target
    (fixes a test fail with ASAN)
This commit is contained in:
Paul Howarth 2018-06-23 18:09:43 +01:00
parent 8d490cdd5e
commit 7793c64e34
3 changed files with 12 additions and 9 deletions

View File

@ -1,5 +1,5 @@
--- t/z_kwalitee.t
+++ t/z_kwalitee.t
--- xt/kwalitee.t
+++ xt/kwalitee.t
@@ -23,4 +23,4 @@ plan skip_all => "Test::Kwalitee require
plan skip_all => 'Test::Kwalitee fails with clang -faddress-sanitizer'
if $Config{ccflags} =~ /-faddress-sanitizer/;

View File

@ -7,12 +7,12 @@
Name: perl-Cpanel-JSON-XS
Summary: JSON::XS for Cpanel, fast and correct serializing
Version: 4.03
Version: 4.04
Release: 1%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/Cpanel-JSON-XS
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-%{version}.tar.gz
Patch0: Cpanel-JSON-XS-3.0204-signature.patch
Patch0: Cpanel-JSON-XS-4.04-signature.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
@ -145,9 +145,6 @@ perl -pi -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' eg/*
# Skip the signature check as we've tweaked some files
%patch0
# Add missing data to META.yml, needed for t/z_meta.t to pass
echo "license: perl" >> META.yml
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
@ -160,7 +157,7 @@ find %{buildroot} -type f -name '*.bs' -empty -delete
%check
%if !%{defined perl_bootstrap} && %{with perl_Cpanel_JSON_XS_enables_extra_test}
make test AUTHOR_TESTING=1
make test xtest AUTHOR_TESTING=1
%else
make test
%endif
@ -181,6 +178,12 @@ make test
%{_mandir}/man3/Cpanel::JSON::XS::Type.3*
%changelog
* Sat Jun 23 2018 Paul Howarth <paul@city-fan.org> - 4.04-1
- Update to 4.04
- Fix bignum NaN/inf handling (GH#78)
- Move author tests to xt/ as suggested in GH#106, added a make xtest target
(fixes a test fail with ASAN)
* Thu Jun 21 2018 Paul Howarth <paul@city-fan.org> - 4.03-1
- Update to 4.03
- Add sereal cpanel_json_xs type (GH#110)

View File

@ -1 +1 @@
SHA512 (Cpanel-JSON-XS-4.03.tar.gz) = b3511adaa31898a0bf6e204a172f2dd319562c0ba5ee82aea8db3bcfe26ed36d6e61a2376f840143902c8c309dad254bf42400fcd11ed576692a766112849b96
SHA512 (Cpanel-JSON-XS-4.04.tar.gz) = 6b2479ee89f2b8c79ef979cecbdb6f29c28ee37ab530eabc9070728ba37063be3c5836571bea84d537dc93f8586cca71fd3bdca5e420c1d6a2eabf2547ca1db7