385373
Name:           perl-Data-Dumper
385373
Version:        2.161
385373
Release:        4%{?dist}
385373
Summary:        Stringify perl data structures, suitable for printing and eval
385373
License:        GPL+ or Artistic
385373
Group:          Development/Libraries
385373
URL:            http://search.cpan.org/dist/Data-Dumper/
385373
Source0:        http://www.cpan.org/authors/id/S/SM/SMUELLER/Data-Dumper-%{version}.tar.gz
385373
# Fix quoting glob names, RT#119831, in upstream after perl-5.27.6
385373
Patch0:         Data-Dumper-2.167-in-Data-Dumper-quote-glob-names-better.patch
385373
# Fix postentry for quoted glob, bug #1532524, RT#132695,
385373
# in upstream after perl-5.27.7
385373
Patch1:         Data-Dumper-2.167-fix-Data-Dumper-postentry-for-quoted-glob.patch
385373
BuildRequires:  findutils
385373
BuildRequires:  gcc
385373
BuildRequires:  make
385373
BuildRequires:  perl-devel
385373
BuildRequires:  perl-generators
385373
BuildRequires:  perl-interpreter
385373
BuildRequires:  perl(ExtUtils::MakeMaker)
385373
BuildRequires:  sed
385373
# Run-time:
385373
BuildRequires:  perl(B::Deparse)
385373
BuildRequires:  perl(bytes)
385373
BuildRequires:  perl(Carp)
385373
BuildRequires:  perl(constant)
385373
BuildRequires:  perl(Exporter)
385373
BuildRequires:  perl(overload)
385373
BuildRequires:  perl(Scalar::Util)
385373
BuildRequires:  perl(XSLoader)
385373
# perl-Test-Simple is in cycle with perl-Data-Dumper
385373
%if !%{defined perl_bootstrap}
385373
# Tests only:
385373
BuildRequires:  perl(Config)
385373
BuildRequires:  perl(if)
385373
BuildRequires:  perl(lib)
385373
BuildRequires:  perl(strict)
385373
BuildRequires:  perl(Test::More) >= 0.98
385373
BuildRequires:  perl(vars)
385373
BuildRequires:  perl(warnings)
385373
# Optional tests:
385373
BuildRequires:  perl(Encode)
385373
%endif
385373
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
385373
Requires:       perl(B::Deparse)
385373
Requires:       perl(bytes)
385373
Requires:       perl(Scalar::Util)
385373
Requires:       perl(XSLoader)
385373
385373
%{?perl_default_filter}
385373
385373
%description
385373
Given a list of scalars or reference variables, writes out their contents
385373
in perl syntax. The references can also be objects. The content of each
385373
variable is output in a single Perl statement. Handles self-referential
385373
structures correctly.
385373
385373
%prep
385373
%setup -q -n Data-Dumper-%{version}
385373
%patch0 -p1
385373
%patch1 -p1
385373
sed -i '/MAN3PODS/d' Makefile.PL
385373
385373
%build
385373
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
385373
make %{?_smp_mflags}
385373
385373
%install
385373
make pure_install DESTDIR=$RPM_BUILD_ROOT
385373
find $RPM_BUILD_ROOT -type f -name .packlist -delete
385373
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
385373
%{_fixperms} $RPM_BUILD_ROOT/*
385373
385373
%check
385373
%if !%{defined perl_bootstrap}
385373
make test
385373
%endif
385373
385373
%files
385373
%doc Changes Todo
385373
%{perl_vendorarch}/auto/*
385373
%{perl_vendorarch}/Data*
385373
%{_mandir}/man3/*
385373
385373
%changelog
385373
* Thu Jan 11 2018 Petr Pisar <ppisar@redhat.com> - 2.161-4
385373
- Fix postentry for quoted glob (bug #1532524)
385373
385373
* Tue Dec 05 2017 Petr Pisar <ppisar@redhat.com> - 2.161-3
385373
- Fix quoting glob names (RT#119831)
385373
385373
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.161-2
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
385373
385373
* Tue Jul 12 2016 Petr Pisar <ppisar@redhat.com> - 2.161-1
385373
- 1.161 bump
385373
385373
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-366
385373
- Perl 5.24 re-rebuild of bootstrapped packages
385373
385373
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-365
385373
- Increase release to favour standalone package
385373
385373
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-1
385373
- 2.160 bump in order to dual-live with perl 5.24
385373
385373
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.158-348
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
385373
385373
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.158-347
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
385373
385373
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-346
385373
- Perl 5.22 re-rebuild of bootstrapped packages
385373
385373
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-345
385373
- Increase release to favour standalone package
385373
385373
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-2
385373
- Perl 5.22 rebuild
385373
385373
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 2.158-1
385373
- 2.158 bump in order to dual-live with perl 5.22
385373
385373
* Fri Sep 19 2014 Petr Pisar <ppisar@redhat.com> - 2.154-1
385373
- 2.154 bump (fixes CVE-2014-4330 (limit recursion when dumping deep data
385373
  structures))
385373
385373
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-311
385373
- Perl 5.20 re-rebuild of bootstrapped packages
385373
385373
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-310
385373
- Increase release to favour standalone package
385373
385373
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-4
385373
- Perl 5.20 rebuild
385373
385373
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.151-3
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
385373
385373
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.151-2
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
385373
385373
* Mon Mar 10 2014 Petr Pisar <ppisar@redhat.com> - 2.151-1
385373
- 2.151 bump
385373
385373
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.145-292
385373
- Perl 5.18 re-rebuild of bootstrapped packages
385373
385373
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.145-291
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
385373
385373
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.145-290
385373
- Increase release to favour standalone package
385373
385373
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.145-2
385373
- Perl 5.18 rebuild
385373
385373
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> - 2.145-1
385373
- 2.145 bump
385373
385373
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 2.143-1
385373
- 2.143 bump
385373
385373
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.139-2
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
385373
385373
* Wed Dec 12 2012 Petr Pisar <ppisar@redhat.com> - 2.139-1
385373
- 2.139 bump
385373
385373
* Fri Oct 05 2012 Petr Pisar <ppisar@redhat.com> - 2.136-1
385373
- 2.136 bump
385373
385373
* Fri Aug 24 2012 Petr Pisar <ppisar@redhat.com> - 2.135.07-241
385373
- Disable tests on bootstrap
385373
385373
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.135.07-240
385373
- update the version to override the module from perl.srpm
385373
- bump release to override sub-package from perl.spec 
385373
385373
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.131-3
385373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
385373
385373
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.131-2
385373
- Perl 5.16 rebuild
385373
385373
* Tue Apr 10 2012 Petr Pisar <ppisar@redhat.com> 2.131-1
385373
- Specfile autogenerated by cpanspec 1.78.