|
|
c1da88 |
%global base_version 2.173
|
|
|
c1da88 |
|
|
|
c1da88 |
Name: perl-Data-Dumper
|
|
|
c1da88 |
Version: 2.174
|
|
|
c1da88 |
Release: 462%{?dist}
|
|
|
c1da88 |
Summary: Stringify perl data structures, suitable for printing and eval
|
|
|
c1da88 |
License: GPL+ or Artistic
|
|
|
c1da88 |
URL: https://metacpan.org/release/Data-Dumper
|
|
|
c1da88 |
Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Data-Dumper-%{base_version}.tar.gz
|
|
|
c1da88 |
# Fix a memory leak when croaking about a too deep recursion,
|
|
|
c1da88 |
# fixed in perl after 5.29.9
|
|
|
c1da88 |
Patch0: Data-Dumper-2.173-Data-Dumper-avoid-leak-on-croak.patch
|
|
|
c1da88 |
# 1/3 Fix a memory leak when a magic throws an exception,
|
|
|
c1da88 |
# fixed in perl after 5.33.0
|
|
|
c1da88 |
Patch1: Data-Dumper-2.173-Data-Dumper-don-t-leak-the-working-retval.patch
|
|
|
c1da88 |
# 2/3 Fix a memory leak when a magic throws an exception,
|
|
|
c1da88 |
# fixed in perl after 5.33.0
|
|
|
c1da88 |
Patch2: Data-Dumper-2.173-make-postav-and-valstr-mortal-so-they-re-freed-sooni.patch
|
|
|
c1da88 |
# 3/3 Fix a memory leak when a magic throws an exception,
|
|
|
c1da88 |
# fixed in perl after 5.33.0
|
|
|
c1da88 |
Patch3: Data-Dumper-2.173-Data-Dumper-XS-use-mortals-to-prevent-leaks-if-magic.patch
|
|
|
c1da88 |
BuildRequires: findutils
|
|
|
c1da88 |
BuildRequires: gcc
|
|
|
c1da88 |
BuildRequires: make
|
|
|
c1da88 |
BuildRequires: perl-devel
|
|
|
c1da88 |
BuildRequires: perl-generators
|
|
|
c1da88 |
BuildRequires: perl-interpreter
|
|
|
c1da88 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
c1da88 |
BuildRequires: perl(File::Copy)
|
|
|
c1da88 |
BuildRequires: perl(strict)
|
|
|
c1da88 |
# perl-Test-Simple is in cycle with perl-Data-Dumper
|
|
|
c1da88 |
%if !%{defined perl_bootstrap}
|
|
|
c1da88 |
# Run-time:
|
|
|
c1da88 |
BuildRequires: perl(B::Deparse)
|
|
|
c1da88 |
BuildRequires: perl(bytes)
|
|
|
c1da88 |
BuildRequires: perl(Carp)
|
|
|
c1da88 |
BuildRequires: perl(constant)
|
|
|
c1da88 |
BuildRequires: perl(Exporter)
|
|
|
c1da88 |
BuildRequires: perl(Scalar::Util)
|
|
|
c1da88 |
BuildRequires: perl(XSLoader)
|
|
|
c1da88 |
# Tests only:
|
|
|
c1da88 |
BuildRequires: perl(Config)
|
|
|
c1da88 |
BuildRequires: perl(if)
|
|
|
c1da88 |
BuildRequires: perl(lib)
|
|
|
c1da88 |
BuildRequires: perl(overload)
|
|
|
c1da88 |
BuildRequires: perl(strict)
|
|
|
c1da88 |
BuildRequires: perl(Test::More) >= 0.98
|
|
|
c1da88 |
BuildRequires: perl(vars)
|
|
|
c1da88 |
BuildRequires: perl(warnings)
|
|
|
c1da88 |
# Optional tests:
|
|
|
c1da88 |
BuildRequires: perl(Encode)
|
|
|
c1da88 |
%endif
|
|
|
c1da88 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
c1da88 |
Requires: perl(B::Deparse)
|
|
|
c1da88 |
Requires: perl(bytes)
|
|
|
c1da88 |
Requires: perl(Scalar::Util)
|
|
|
c1da88 |
Requires: perl(XSLoader)
|
|
|
c1da88 |
|
|
|
c1da88 |
%{?perl_default_filter}
|
|
|
c1da88 |
|
|
|
c1da88 |
%description
|
|
|
c1da88 |
Given a list of scalars or reference variables, writes out their contents
|
|
|
c1da88 |
in perl syntax. The references can also be objects. The content of each
|
|
|
c1da88 |
variable is output in a single Perl statement. Handles self-referential
|
|
|
c1da88 |
structures correctly.
|
|
|
c1da88 |
|
|
|
c1da88 |
%prep
|
|
|
c1da88 |
%setup -q -n Data-Dumper-%{base_version}
|
|
|
c1da88 |
%patch0 -p1
|
|
|
c1da88 |
%patch1 -p1
|
|
|
c1da88 |
%patch2 -p1
|
|
|
c1da88 |
%patch3 -p1
|
|
|
c1da88 |
|
|
|
c1da88 |
%build
|
|
|
c1da88 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
c1da88 |
%{make_build}
|
|
|
c1da88 |
|
|
|
c1da88 |
%install
|
|
|
c1da88 |
%{make_install}
|
|
|
c1da88 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
c1da88 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
c1da88 |
|
|
|
c1da88 |
%check
|
|
|
c1da88 |
%if !%{defined perl_bootstrap}
|
|
|
c1da88 |
make test
|
|
|
c1da88 |
%endif
|
|
|
c1da88 |
|
|
|
c1da88 |
%files
|
|
|
c1da88 |
%doc Changes Todo
|
|
|
c1da88 |
%{perl_vendorarch}/auto/*
|
|
|
c1da88 |
%{perl_vendorarch}/Data*
|
|
|
c1da88 |
%{_mandir}/man3/*
|
|
|
c1da88 |
|
|
|
c1da88 |
%changelog
|
|
|
c1da88 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.174-462
|
|
|
c1da88 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
c1da88 |
Related: rhbz#1991688
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.174-461
|
|
|
c1da88 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.174-460
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Aug 20 2020 Petr Pisar <ppisar@redhat.com> - 2.174-459
|
|
|
c1da88 |
- Fix a memory leak when a magic throws an exception
|
|
|
c1da88 |
|
|
|
c1da88 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.174-458
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.174-457
|
|
|
c1da88 |
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.174-456
|
|
|
c1da88 |
- Increase release to favour standalone package
|
|
|
c1da88 |
|
|
|
c1da88 |
* Tue Feb 04 2020 Petr Pisar <ppisar@redhat.com> - 2.174-443
|
|
|
c1da88 |
- Modernize the spec file
|
|
|
c1da88 |
|
|
|
c1da88 |
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 2.174-442
|
|
|
c1da88 |
- Use make_build macro
|
|
|
c1da88 |
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.174-441
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.174-440
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.174-439
|
|
|
c1da88 |
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.174-438
|
|
|
c1da88 |
- Increase release to favour standalone package
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Apr 26 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.174-1
|
|
|
c1da88 |
- Update version to 2.174 as provided in perl-5.29.10
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Apr 03 2019 Petr Pisar <ppisar@redhat.com> - 2.173-3
|
|
|
c1da88 |
- Fix a memory leak when croaking about a too deep recursion
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.173-2
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Mon Nov 12 2018 Petr Pisar <ppisar@redhat.com> - 2.173-1
|
|
|
c1da88 |
- 2.173 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Sep 20 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.172-1
|
|
|
c1da88 |
- 2.172 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.170-418
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.170-417
|
|
|
c1da88 |
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.170-416
|
|
|
c1da88 |
- Increase release to favour standalone package
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed May 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.170-1
|
|
|
c1da88 |
- Upgrade to 2.170 as provided in perl-5.28.0-RC1
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.167-399
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Jan 11 2018 Petr Pisar <ppisar@redhat.com> - 2.167-398
|
|
|
c1da88 |
- Fix postentry for quoted glob (bug #1532524)
|
|
|
c1da88 |
|
|
|
c1da88 |
* Tue Dec 05 2017 Petr Pisar <ppisar@redhat.com> - 2.167-397
|
|
|
c1da88 |
- Fix quoting glob names (RT#119831)
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.167-396
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.167-395
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.167-394
|
|
|
c1da88 |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.167-393
|
|
|
c1da88 |
- Perl 5.26 rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 2.167-1
|
|
|
c1da88 |
- Upgrade to 2.167 as provided in perl-5.25.12
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.161-2
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Tue Jul 12 2016 Petr Pisar <ppisar@redhat.com> - 2.161-1
|
|
|
c1da88 |
- 1.161 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-366
|
|
|
c1da88 |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-365
|
|
|
c1da88 |
- Increase release to favour standalone package
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-1
|
|
|
c1da88 |
- 2.160 bump in order to dual-live with perl 5.24
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.158-348
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.158-347
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-346
|
|
|
c1da88 |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-345
|
|
|
c1da88 |
- Increase release to favour standalone package
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-2
|
|
|
c1da88 |
- Perl 5.22 rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 2.158-1
|
|
|
c1da88 |
- 2.158 bump in order to dual-live with perl 5.22
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Sep 19 2014 Petr Pisar <ppisar@redhat.com> - 2.154-1
|
|
|
c1da88 |
- 2.154 bump (fixes CVE-2014-4330 (limit recursion when dumping deep data
|
|
|
c1da88 |
structures))
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-311
|
|
|
c1da88 |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-310
|
|
|
c1da88 |
- Increase release to favour standalone package
|
|
|
c1da88 |
|
|
|
c1da88 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-4
|
|
|
c1da88 |
- Perl 5.20 rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.151-3
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.151-2
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Mon Mar 10 2014 Petr Pisar <ppisar@redhat.com> - 2.151-1
|
|
|
c1da88 |
- 2.151 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.145-292
|
|
|
c1da88 |
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
c1da88 |
|
|
|
c1da88 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.145-291
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.145-290
|
|
|
c1da88 |
- Increase release to favour standalone package
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.145-2
|
|
|
c1da88 |
- Perl 5.18 rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> - 2.145-1
|
|
|
c1da88 |
- 2.145 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 2.143-1
|
|
|
c1da88 |
- 2.143 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.139-2
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Dec 12 2012 Petr Pisar <ppisar@redhat.com> - 2.139-1
|
|
|
c1da88 |
- 2.139 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Oct 05 2012 Petr Pisar <ppisar@redhat.com> - 2.136-1
|
|
|
c1da88 |
- 2.136 bump
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Aug 24 2012 Petr Pisar <ppisar@redhat.com> - 2.135.07-241
|
|
|
c1da88 |
- Disable tests on bootstrap
|
|
|
c1da88 |
|
|
|
c1da88 |
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.135.07-240
|
|
|
c1da88 |
- update the version to override the module from perl.srpm
|
|
|
c1da88 |
- bump release to override sub-package from perl.spec
|
|
|
c1da88 |
|
|
|
c1da88 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.131-3
|
|
|
c1da88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.131-2
|
|
|
c1da88 |
- Perl 5.16 rebuild
|
|
|
c1da88 |
|
|
|
c1da88 |
* Tue Apr 10 2012 Petr Pisar <ppisar@redhat.com> 2.131-1
|
|
|
c1da88 |
- Specfile autogenerated by cpanspec 1.78.
|