2017-05-11 07:28:19 +00:00
|
|
|
%global cpan_version 2.161
|
2012-04-13 13:46:42 +00:00
|
|
|
Name: perl-Data-Dumper
|
2018-05-23 15:47:11 +00:00
|
|
|
Version: 2.170
|
2018-07-16 05:50:06 +00:00
|
|
|
Release: 417.0.riscv64%{?dist}
|
2012-04-13 13:46:42 +00:00
|
|
|
Summary: Stringify perl data structures, suitable for printing and eval
|
|
|
|
License: GPL+ or Artistic
|
2018-06-04 12:58:04 +00:00
|
|
|
URL: https://metacpan.org/release/Data-Dumper
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/Data-Dumper-%{cpan_version}.tar.gz
|
2017-05-11 07:28:19 +00:00
|
|
|
# Unbundled from perl-5.25.12, requires perl > 5.25.5
|
|
|
|
Patch0: Data-Dumper-2.161-Upgrade-to-2.167.patch
|
2018-05-23 15:47:11 +00:00
|
|
|
# Unbundled from perl 5.28.0-RC1
|
|
|
|
Patch1: Data-Dumper-2.167-Upgrade-to-2.170.patch
|
2016-07-12 07:45:21 +00:00
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
2016-05-11 13:22:00 +00:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-generators
|
2017-12-05 10:05:15 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2017-05-11 07:28:19 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
2016-07-12 07:45:21 +00:00
|
|
|
BuildRequires: sed
|
2017-05-11 07:28:19 +00:00
|
|
|
# perl-Test-Simple is in cycle with perl-Data-Dumper
|
|
|
|
%if !%{defined perl_bootstrap}
|
2012-04-13 13:46:42 +00:00
|
|
|
# Run-time:
|
2013-02-28 13:06:56 +00:00
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
BuildRequires: perl(bytes)
|
2012-04-13 13:46:42 +00:00
|
|
|
BuildRequires: perl(Carp)
|
2013-02-28 13:06:56 +00:00
|
|
|
BuildRequires: perl(constant)
|
2012-04-13 13:46:42 +00:00
|
|
|
BuildRequires: perl(Exporter)
|
2014-03-10 07:42:16 +00:00
|
|
|
BuildRequires: perl(Scalar::Util)
|
2012-04-13 13:46:42 +00:00
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests only:
|
2013-02-28 13:06:56 +00:00
|
|
|
BuildRequires: perl(Config)
|
2014-03-10 07:42:16 +00:00
|
|
|
BuildRequires: perl(if)
|
2013-02-28 13:06:56 +00:00
|
|
|
BuildRequires: perl(lib)
|
2017-05-11 07:28:19 +00:00
|
|
|
BuildRequires: perl(overload)
|
2013-02-28 13:06:56 +00:00
|
|
|
BuildRequires: perl(strict)
|
2013-03-18 08:25:39 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.98
|
2014-03-10 07:42:16 +00:00
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(warnings)
|
2012-04-13 13:46:42 +00:00
|
|
|
# Optional tests:
|
|
|
|
BuildRequires: perl(Encode)
|
2012-08-27 07:17:57 +00:00
|
|
|
%endif
|
2013-02-28 13:06:56 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(B::Deparse)
|
|
|
|
Requires: perl(bytes)
|
2012-04-13 13:46:42 +00:00
|
|
|
Requires: perl(Scalar::Util)
|
|
|
|
Requires: perl(XSLoader)
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Given a list of scalars or reference variables, writes out their contents
|
|
|
|
in perl syntax. The references can also be objects. The content of each
|
|
|
|
variable is output in a single Perl statement. Handles self-referential
|
|
|
|
structures correctly.
|
|
|
|
|
|
|
|
%prep
|
2017-05-11 07:28:19 +00:00
|
|
|
%setup -q -n Data-Dumper-%{cpan_version}
|
|
|
|
%patch0 -p1
|
2017-05-11 11:48:12 +00:00
|
|
|
%patch1 -p1
|
2012-04-13 13:46:42 +00:00
|
|
|
sed -i '/MAN3PODS/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
2017-05-11 07:28:19 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
2012-04-13 13:46:42 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-02-28 13:06:56 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2016-07-12 07:45:21 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
2012-04-13 13:46:42 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
2012-08-27 07:17:57 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
2012-04-13 13:46:42 +00:00
|
|
|
make test
|
2012-08-27 07:17:57 +00:00
|
|
|
%endif
|
2012-04-13 13:46:42 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes Todo
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/Data*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2018-07-16 05:50:06 +00:00
|
|
|
* Mon Jul 16 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.170-417.0.riscv64
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages (RISC-V)
|
|
|
|
|
2018-06-30 19:46:20 +00:00
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.170-417
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
2018-06-27 00:15:46 +00:00
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.170-416
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2018-05-23 15:47:11 +00:00
|
|
|
* Wed May 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.170-1
|
|
|
|
- Upgrade to 2.170 as provided in perl-5.28.0-RC1
|
|
|
|
|
2018-02-08 20:14:43 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.167-399
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-11 09:27:52 +00:00
|
|
|
* Thu Jan 11 2018 Petr Pisar <ppisar@redhat.com> - 2.167-398
|
|
|
|
- Fix postentry for quoted glob (bug #1532524)
|
|
|
|
|
2017-12-05 10:02:54 +00:00
|
|
|
* Tue Dec 05 2017 Petr Pisar <ppisar@redhat.com> - 2.167-397
|
|
|
|
- Fix quoting glob names (RT#119831)
|
|
|
|
|
2017-08-03 05:10:48 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.167-396
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 03:22:22 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.167-395
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-07 14:00:33 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.167-394
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
2017-06-03 10:40:08 +00:00
|
|
|
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.167-393
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-05-11 07:28:19 +00:00
|
|
|
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 2.167-1
|
|
|
|
- Upgrade to 2.167 as provided in perl-5.25.12
|
|
|
|
|
2017-02-11 02:29:51 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.161-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-07-12 07:45:21 +00:00
|
|
|
* Tue Jul 12 2016 Petr Pisar <ppisar@redhat.com> - 2.161-1
|
|
|
|
- 1.161 bump
|
|
|
|
|
2016-05-18 13:34:36 +00:00
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-366
|
|
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
|
2016-05-14 10:18:59 +00:00
|
|
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-365
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2016-05-11 13:22:00 +00:00
|
|
|
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.160-1
|
|
|
|
- 2.160 bump in order to dual-live with perl 5.24
|
|
|
|
|
2016-02-04 13:06:04 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.158-348
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 02:23:44 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.158-347
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-10 10:41:17 +00:00
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-346
|
|
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
|
2015-06-04 11:34:23 +00:00
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-345
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2015-06-03 11:49:48 +00:00
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.158-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-05-06 10:55:36 +00:00
|
|
|
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 2.158-1
|
|
|
|
- 2.158 bump in order to dual-live with perl 5.22
|
|
|
|
|
2014-09-19 08:57:14 +00:00
|
|
|
* 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))
|
|
|
|
|
2014-09-07 21:07:10 +00:00
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-311
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
2014-09-03 13:12:09 +00:00
|
|
|
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-310
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2014-08-26 12:06:58 +00:00
|
|
|
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.151-4
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-17 15:55:36 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.151-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 02:47:55 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.151-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-10 07:42:16 +00:00
|
|
|
* Mon Mar 10 2014 Petr Pisar <ppisar@redhat.com> - 2.151-1
|
|
|
|
- 2.151 bump
|
|
|
|
|
2013-08-14 16:20:39 +00:00
|
|
|
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.145-292
|
|
|
|
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
|
|
2013-08-03 19:27:53 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.145-291
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-15 11:11:33 +00:00
|
|
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.145-290
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2013-07-12 14:10:38 +00:00
|
|
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.145-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-03-18 08:25:39 +00:00
|
|
|
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> - 2.145-1
|
|
|
|
- 2.145 bump
|
|
|
|
|
2013-02-28 13:06:56 +00:00
|
|
|
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 2.143-1
|
|
|
|
- 2.143 bump
|
|
|
|
|
2013-02-14 11:40:34 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.139-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-12 13:05:42 +00:00
|
|
|
* Wed Dec 12 2012 Petr Pisar <ppisar@redhat.com> - 2.139-1
|
|
|
|
- 2.139 bump
|
|
|
|
|
2012-10-05 09:06:11 +00:00
|
|
|
* Fri Oct 05 2012 Petr Pisar <ppisar@redhat.com> - 2.136-1
|
|
|
|
- 2.136 bump
|
|
|
|
|
2012-08-27 07:17:57 +00:00
|
|
|
* Fri Aug 24 2012 Petr Pisar <ppisar@redhat.com> - 2.135.07-241
|
|
|
|
- Disable tests on bootstrap
|
|
|
|
|
2012-08-13 13:55:46 +00:00
|
|
|
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.135.07-240
|
|
|
|
- update the version to override the module from perl.srpm
|
2012-08-13 11:34:22 +00:00
|
|
|
- bump release to override sub-package from perl.spec
|
|
|
|
|
2012-07-20 14:14:22 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.131-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-06 21:12:16 +00:00
|
|
|
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.131-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-04-13 13:46:42 +00:00
|
|
|
* Tue Apr 10 2012 Petr Pisar <ppisar@redhat.com> 2.131-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|