From 26423d32775ff406ac528803de9bb6e89786e854 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Tue, 30 Aug 2016 11:25:31 +0100 Subject: Update to 2.40
- New upstream release 2.40 - Fix up issues with JSON and with non-Padwalker builds - Various other tweaks and cleanups to build on newer Perls - Updated meta files, etc. --- Data-Dump-Streamer-2.39-RT112960.patch | 34 ---------------------------------- perl-Data-Dump-Streamer.spec | 17 +++++++++-------- sources | 2 +- 3 files changed, 10 insertions(+), 43 deletions(-) delete mode 100644 Data-Dump-Streamer-2.39-RT112960.patch diff --git a/Data-Dump-Streamer-2.39-RT112960.patch b/Data-Dump-Streamer-2.39-RT112960.patch deleted file mode 100644 index d13a47d..0000000 --- a/Data-Dump-Streamer-2.39-RT112960.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 5b6dfb4787c9e110ba59221c5d257a6b443c7612 Mon Sep 17 00:00:00 2001 -From: Slaven Rezic <cpansand@eserte> -Date: Sun, 24 Apr 2016 10:24:13 +0000 -Subject: [PATCH] set allow_nonref (RT #112960) - ---- - t/madness_json.t | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/t/madness_json.t b/t/madness_json.t -index db13def..c99ec59 100644 ---- a/t/madness_json.t -+++ b/t/madness_json.t -@@ -230,7 +230,7 @@ format STDOUT = - else { - $expected_dot = 'undef'; - } -- my $jstrue= JSON::XS::decode_json("true"); -+ my $jstrue= JSON::XS->new->allow_nonref->decode("true"); - my %hash = ( - UND => undef, - IV => 1, -@@ -392,7 +392,7 @@ EXPECT - } - # In JSON::XS < 3, the boolean class is JSON::XS::Boolean - # In JSON::XS >= 3, the boolean class is JSON::PP::Boolean -- my $json_boolean_class = ref JSON::XS::decode_json("true"); -+ my $json_boolean_class = ref JSON::XS->new->allow_nonref->decode("true"); - $expect =~ s{JSON::XS::Boolean}{$json_boolean_class}g; - same( $dump= $o->Data(\%hash)->Out, template( $expect, expected_dot => $expected_dot ), "", $o); - } --- -2.1.2 - diff --git a/perl-Data-Dump-Streamer.spec b/perl-Data-Dump-Streamer.spec index 296aad2..6180544 100644 --- a/perl-Data-Dump-Streamer.spec +++ b/perl-Data-Dump-Streamer.spec @@ -1,16 +1,14 @@ Name: perl-Data-Dump-Streamer -Version: 2.39 -Release: 2%{?dist} +Version: 2.40 +Release: 1%{?dist} Summary: Accurately serialize a data structure as Perl code License: GPL+ or Artistic URL: http://search.cpan.org/dist/Data-Dump-Streamer/ Source0: http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/Data-Dump-Streamer-%{version}.tar.gz -Patch0: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Data-Dump-Streamer-2.39-RT112960.patch # Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc -BuildRequires: make BuildRequires: perl BuildRequires: perl-devel BuildRequires: perl-generators @@ -69,9 +67,6 @@ output correctly. %prep %setup -q -n Data-Dump-Streamer-%{version} -# Fix for JSON::XS ≥ 3.02 (https://rt.cpan.org/Public/Bug/Display.html?id=112960) -%patch0 -p1 -b .json-xs - %build perl Build.PL DDS --installdirs=vendor --optimize="%{optflags}" ./Build @@ -85,7 +80,7 @@ find %{buildroot} -type f -name '*.bs' -empty -delete ./Build test %files -%doc Changes README +%doc Changes README.md %{perl_vendorarch}/auto/Data/ %{perl_vendorarch}/Data/ %{perl_vendorarch}/DDS.pm @@ -93,6 +88,12 @@ find %{buildroot} -type f -name '*.bs' -empty -delete %{_mandir}/man3/DDS.3* %changelog +* Tue Aug 30 2016 Paul Howarth <p...@city-fan.org> - 2.40-1 +- Update to 2.40 + - Fix up issues with JSON and with non-Padwalker builds + - Various other tweaks and cleanups to build on newer Perls + - Updated meta files, etc. + * Thu Jul 28 2016 Paul Howarth <p...@city-fan.org> - 2.39-2 - Incorporate package re-review comments (#1359495) - BR:/R: perl(re) diff --git a/sources b/sources index 29dde3a..8199eb6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5cd6fe67653c8de544fa41930de157b7 Data-Dump-Streamer-2.39.tar.gz +2578bf0e5c3def403152d223aeebb618 Data-Dump-Streamer-2.40.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Data-Dump-Streamer.git/commit/?h=f25&id=26423d32775ff406ac528803de9bb6e89786e854 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org