diff --git a/Data-Dumper-2.173-Data-Dumper-avoid-leak-on-croak.patch b/Data-Dumper-2.173-Data-Dumper-avoid-leak-on-croak.patch index d51ada9..e570009 100644 --- a/Data-Dumper-2.173-Data-Dumper-avoid-leak-on-croak.patch +++ b/Data-Dumper-2.173-Data-Dumper-avoid-leak-on-croak.patch @@ -35,15 +35,24 @@ perl git tree. Signed-off-by: Petr Písař --- - Dumper.pm | 2 +- + Dumper.pm | 6 +++--- Dumper.xs | 27 ++++++++++++++++++++------- - 2 files changed, 21 insertions(+), 8 deletions(-) + 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/Dumper.pm b/Dumper.pm index 40aeb7d..06af4c4 100644 --- a/Dumper.pm +++ b/Dumper.pm -@@ -1461,7 +1461,7 @@ be to use the C filter of Data::Dumper. +@@ -10,7 +10,7 @@ + package Data::Dumper; + + BEGIN { +- $VERSION = '2.173'; # Don't forget to set version and release ++ $VERSION = '2.174'; # Don't forget to set version and release + } # date in POD below! + + #$| = 1; +@@ -1461,13 +1461,13 @@ be to use the C filter of Data::Dumper. Gurusamy Sarathy gsar@activestate.com @@ -52,6 +61,13 @@ index 40aeb7d..06af4c4 100644 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. + =head1 VERSION + +-Version 2.173 ++Version 2.174 + + =head1 SEE ALSO + diff --git a/Dumper.xs b/Dumper.xs index 7f0b027..a324cb6 100644 --- a/Dumper.xs diff --git a/perl-Data-Dumper.spec b/perl-Data-Dumper.spec index a10215b..05a03aa 100644 --- a/perl-Data-Dumper.spec +++ b/perl-Data-Dumper.spec @@ -1,10 +1,12 @@ +%global base_version 2.173 + Name: perl-Data-Dumper -Version: 2.173 -Release: 3%{?dist} +Version: 2.174 +Release: 1%{?dist} Summary: Stringify perl data structures, suitable for printing and eval License: GPL+ or Artistic URL: https://metacpan.org/release/Data-Dumper -Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Data-Dumper-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Data-Dumper-%{base_version}.tar.gz # Fix a memory leak when croaking about a too deep recursion, # fixed in perl after 5.29.9 Patch0: Data-Dumper-2.173-Data-Dumper-avoid-leak-on-croak.patch @@ -54,7 +56,7 @@ variable is output in a single Perl statement. Handles self-referential structures correctly. %prep -%setup -q -n Data-Dumper-%{version} +%setup -q -n Data-Dumper-%{base_version} %patch0 -p1 %build @@ -78,6 +80,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Apr 26 2019 Jitka Plesnikova - 2.174-1 +- Update version to 2.174 as provided in perl-5.29.10 + * Wed Apr 03 2019 Petr Pisar - 2.173-3 - Fix a memory leak when croaking about a too deep recursion