Blame SPECS/perl-Data-Dumper.spec

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