diff --git a/Cpanel-JSON-XS-3.0204-signature.patch b/Cpanel-JSON-XS-3.0204-signature.patch deleted file mode 100644 index e6dfc42..0000000 --- a/Cpanel-JSON-XS-3.0204-signature.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- t/z_kwalitee.t -+++ t/z_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/; - --Test::Kwalitee->import( tests => [ qw( -use_strict ) ] ); -+Test::Kwalitee->import( tests => [ qw( -use_strict -valid_signature ) ] ); diff --git a/Cpanel-JSON-XS-4.04-signature.patch b/Cpanel-JSON-XS-4.04-signature.patch new file mode 100644 index 0000000..55b36f0 --- /dev/null +++ b/Cpanel-JSON-XS-4.04-signature.patch @@ -0,0 +1,8 @@ +--- 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/; + +-Test::Kwalitee->import( tests => [ qw( -use_strict ) ] ); ++Test::Kwalitee->import( tests => [ qw( -use_strict -valid_signature ) ] ); diff --git a/perl-Cpanel-JSON-XS.spec b/perl-Cpanel-JSON-XS.spec index a430155..476a43c 100644 --- a/perl-Cpanel-JSON-XS.spec +++ b/perl-Cpanel-JSON-XS.spec @@ -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 - 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 - 4.03-1 - Update to 4.03 - Add sereal cpanel_json_xs type (GH#110) diff --git a/sources b/sources index 46ae4d1..b7523ca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cpanel-JSON-XS-4.03.tar.gz) = b3511adaa31898a0bf6e204a172f2dd319562c0ba5ee82aea8db3bcfe26ed36d6e61a2376f840143902c8c309dad254bf42400fcd11ed576692a766112849b96 +SHA512 (Cpanel-JSON-XS-4.04.tar.gz) = 6b2479ee89f2b8c79ef979cecbdb6f29c28ee37ab530eabc9070728ba37063be3c5836571bea84d537dc93f8586cca71fd3bdca5e420c1d6a2eabf2547ca1db7