2.158 bump in order to dual-live with perl 5.22

This commit is contained in:
Petr Písař 2015-05-06 12:55:36 +02:00
parent 788ba27738
commit b543d30ca3
2 changed files with 1357 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,14 @@
%global cpan_version 2.154
%global base_version 2.154
Name: perl-Data-Dumper
Version: %(echo '%{cpan_version}' | tr '_' '.')
Version: 2.158
Release: 1%{?dist}
Summary: Stringify perl data structures, suitable for printing and eval
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-Dumper/
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Data-Dumper-%{cpan_version}.tar.gz
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Data-Dumper-%{base_version}.tar.gz
# Unbundled from perl 5.21.11
Patch0: Data-Dumper-2.154-Upgrade-to-2.158.patch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
@ -46,7 +48,8 @@ variable is output in a single Perl statement. Handles self-referential
structures correctly.
%prep
%setup -q -n Data-Dumper-%{cpan_version}
%setup -q -n Data-Dumper-%{base_version}
%patch0 -p1
sed -i '/MAN3PODS/d' Makefile.PL
%build
@ -71,6 +74,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 2.158-1
- 2.158 bump in order to dual-live with perl 5.22
* Fri Sep 19 2014 Petr Pisar <ppisar@redhat.com> - 2.154-1
- 2.154 bump (fixes CVE-2014-4330 (limit recursion when dumping deep data
structures))