9952d15
Name:           perl-Data-Dump-Streamer
26423d3
Version:        2.40
cb0f9b9
Release:        17%{?dist}
9952d15
Summary:        Accurately serialize a data structure as Perl code
9952d15
License:        GPL+ or Artistic
035ebe6
URL:            https://metacpan.org/release/Data-Dump-Streamer
7f8106f
Source0:        https://cpan.metacpan.org/modules/by-module/Data/Data-Dump-Streamer-%{version}.tar.gz
9952d15
# Build
9952d15
BuildRequires:  coreutils
9952d15
BuildRequires:  findutils
9952d15
BuildRequires:  perl-devel
9952d15
BuildRequires:  perl-generators
7f8106f
BuildRequires:  perl-interpreter
9952d15
BuildRequires:  perl(ExtUtils::CBuilder)
9952d15
BuildRequires:  perl(ExtUtils::Depends)
9952d15
BuildRequires:  perl(Module::Build)
9952d15
# Module Runtime
9952d15
BuildRequires:  perl(B)
9952d15
BuildRequires:  perl(B::Deparse)
9952d15
BuildRequires:  perl(B::Utils) >= 0.05
9952d15
BuildRequires:  perl(bytes)
9952d15
BuildRequires:  perl(Compress::Zlib)
9952d15
BuildRequires:  perl(Data::Dumper)
9952d15
BuildRequires:  perl(DynaLoader)
9952d15
BuildRequires:  perl(Exporter)
81a94a2
BuildRequires:  perl(Hash::Util)
9952d15
BuildRequires:  perl(IO::File)
9952d15
BuildRequires:  perl(MIME::Base64)
9952d15
BuildRequires:  perl(overload)
9952d15
BuildRequires:  perl(PadWalker) >= 0.99
9952d15
BuildRequires:  perl(re)
9952d15
BuildRequires:  perl(strict)
9952d15
BuildRequires:  perl(Symbol)
9952d15
BuildRequires:  perl(Text::Abbrev)
9952d15
BuildRequires:  perl(Text::Balanced)
9952d15
BuildRequires:  perl(utf8)
9952d15
BuildRequires:  perl(vars)
9952d15
BuildRequires:  perl(warnings)
9952d15
BuildRequires:  perl(warnings::register)
9952d15
# Test Suite
9952d15
BuildRequires:  perl(Algorithm::Diff)
9952d15
BuildRequires:  perl(base)
9952d15
BuildRequires:  perl(Carp)
9952d15
BuildRequires:  perl(Config)
9952d15
BuildRequires:  perl(constant)
9952d15
BuildRequires:  perl(Devel::Peek)
9952d15
BuildRequires:  perl(JSON::XS)
9952d15
BuildRequires:  perl(Test::More)
9952d15
# Dependencies
9952d15
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
9952d15
Requires:       perl(bytes)
9952d15
Requires:       perl(Compress::Zlib)
81a94a2
Requires:       perl(Hash::Util)
9952d15
Requires:       perl(MIME::Base64)
9952d15
Requires:       perl(PadWalker) >= 0.99
9952d15
Requires:       perl(re)
9952d15
9952d15
%global __provides_exclude ::_::|Streamer\\.so
9952d15
%global __requires_exclude ::_::
9952d15
9952d15
%description
9952d15
Given a list of scalars or reference variables, writes out their contents
9952d15
in perl syntax. The references can also be objects. The contents of each
9952d15
variable is output using the least number of Perl statements as convenient,
9952d15
usually only one. Self-referential structures, closures, and objects are
9952d15
output correctly.
9952d15
9952d15
%prep
9952d15
%setup -q -n Data-Dump-Streamer-%{version}
9952d15
9952d15
%build
9952d15
perl Build.PL DDS --installdirs=vendor --optimize="%{optflags}"
9952d15
./Build
9952d15
9952d15
%install
9952d15
./Build install --destdir=%{buildroot} --create_packlist=0
9952d15
find %{buildroot} -type f -name '*.bs' -empty -delete
7f8106f
%{_fixperms} -c %{buildroot}
9952d15
9952d15
%check
9952d15
./Build test
9952d15
9952d15
%files
26423d3
%doc Changes README.md
9952d15
%{perl_vendorarch}/auto/Data/
9952d15
%{perl_vendorarch}/Data/
9952d15
%{perl_vendorarch}/DDS.pm
9952d15
%{_mandir}/man3/Data::Dump::Streamer.3*
9952d15
%{_mandir}/man3/DDS.3*
9952d15
9952d15
%changelog
cb0f9b9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-17
cb0f9b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cb0f9b9
a06634a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-16
a06634a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a06634a
922578b
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.40-15
922578b
- Perl 5.32 rebuild
922578b
095aafb
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-14
095aafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
095aafb
81a94a2
* Fri Jan 10 2020 Petr Pisar <ppisar@redhat.com> - 2.40-13
81a94a2
- Require Hash::Util
81a94a2
7f8106f
* Fri Oct 18 2019 Paul Howarth <paul@city-fan.org> - 2.40-12
7f8106f
- Spec tidy-up
7f8106f
  - Use author-independent source URL
7f8106f
  - Fix permissions verbosely
7f8106f
a0bcb6c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-11
a0bcb6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a0bcb6c
a610499
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.40-10
a610499
- Perl 5.30 rebuild
a610499
3fd87cf
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-9
3fd87cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3fd87cf
acf1ade
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-8
acf1ade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
acf1ade
f9feb32
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.40-7
f9feb32
- Perl 5.28 rebuild
f9feb32
538d1b2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-6
538d1b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
538d1b2
91b5a53
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-5
91b5a53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
91b5a53
ac3a20a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-4
ac3a20a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ac3a20a
28fef29
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.40-3
28fef29
- Perl 5.26 rebuild
28fef29
d0df686
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-2
d0df686
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d0df686
26423d3
* Tue Aug 30 2016 Paul Howarth <paul@city-fan.org> - 2.40-1
26423d3
- Update to 2.40
26423d3
  - Fix up issues with JSON and with non-Padwalker builds
26423d3
  - Various other tweaks and cleanups to build on newer Perls
26423d3
  - Updated meta files, etc.
26423d3
9952d15
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 2.39-2
9952d15
- Incorporate package re-review comments (#1359495)
9952d15
  - BR:/R: perl(re)
9952d15
  - Specify version requirement for perl(B::Utils) [≥0.05]
9952d15
  - R: perl(bytes)
9952d15
9952d15
* Sat Jul 23 2016 Paul Howarth <paul@city-fan.org> - 2.39-1
9952d15
- Update to 2.39
9952d15
- Add fix for JSON::XS ≥ 3.02 (CPAN RT#112960)
9952d15
- Classify buildreqs by usage
9952d15
- General tidy-up and modernization
9952d15
9952d15
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.38-3
9952d15
- Perl 5.20 rebuild
9952d15
9952d15
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.38-2
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9952d15
9952d15
* Thu Jul 31 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.38-1
9952d15
- 2.38 bump
9952d15
9952d15
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36-2
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9952d15
9952d15
* Wed Jan 29 2014 Lubomir Rintel <lkundrak@v3.sk> - 2.36-1
9952d15
- Update to latest upstream version
9952d15
- Fix build with JSON::XS ≥ 3
9952d15
9952d15
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34-6
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9952d15
9952d15
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.34-5
9952d15
- Perl 5.18 rebuild
9952d15
- Perl 5.18 compatibility (CPAN RT#82958)
9952d15
9952d15
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34-4
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9952d15
9952d15
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34-3
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9952d15
9952d15
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 2.34-2
9952d15
- Perl 5.16 rebuild
9952d15
9952d15
* Sat Jun 09 2012 Iain Arnell <iarnell@gmail.com> - 2.34-1
9952d15
- Update to latest upstream version
9952d15
9952d15
* Tue Apr 03 2012 Iain Arnell <iarnell@gmail.com> - 2.33-1
9952d15
- Update to latest upstream version
9952d15
9952d15
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32-5
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9952d15
9952d15
* Thu Jul 21 2011 Iain Arnell <iarnell@gmail.com> - 2.32-4
9952d15
- Perl mass rebuild
9952d15
9952d15
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 2.32-3
9952d15
- Update filtering for rpm 4.9
9952d15
9952d15
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.32-2
9952d15
- Perl mass rebuild
9952d15
9952d15
* Sun Feb 20 2011 Iain Arnell <iarnell@gmail.com> - 2.32-1
9952d15
- Update to latest upstream version
9952d15
9952d15
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31-2
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9952d15
9952d15
* Fri Feb 04 2011 Iain Arnell <iarnell@gmail.com> - 2.31-1
9952d15
- Update to latest upstream version
9952d15
9952d15
* Sun Jan 30 2011 Iain Arnell <iarnell@gmail.com> - 2.25-1
9952d15
- Update to latest upstream version
9952d15
9952d15
* Fri Jan 21 2011 Iain Arnell <iarnell@gmail.com> - 2.23-1
9952d15
- Update to latest upstream version
9952d15
9952d15
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.22-2
9952d15
- Rebuild to fix problems with vendorarch/lib (#661697)
9952d15
9952d15
* Sun Jul 18 2010 Iain Arnell <iarnell@gmail.com> - 2.22-1
9952d15
- Update to 2.22
9952d15
- Enable DDS shortcut
9952d15
- Update spec for modern rpmbuild
9952d15
9952d15
* Wed Jun 23 2010 Iain Arnell <iarnell@gmail.com> - 2.21-1
9952d15
- Update to latest upstream
9952d15
9952d15
* Mon Jun 14 2010 Iain Arnell <iarnell@gmail.com> - 2.18-1
9952d15
- Update to latest upstream
9952d15
- Convert to Module::Build
9952d15
- Use filtering macros
9952d15
9952d15
* Tue Apr 06 2010 Iain Arnell <iarnell@gmail.com> - 2.13-1
9952d15
- Update to latest upstream
9952d15
- Drop madness.t patch
9952d15
9952d15
* Mon Apr 05 2010 Iain Arnell <iarnell@gmail.com> - 2.11-1
9952d15
- Update to 2.11 (perl 5.12 compatibility tweaks)
9952d15
9952d15
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.09-4
9952d15
- Rebuild against perl 5.10.1
9952d15
9952d15
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-3
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9952d15
9952d15
* Fri Jun 12 2009 Iain Arnell <iarnell@gmail.com> - 2.09-2
9952d15
- Fix FTBFS by patching t/madness.t (due to CPAN RT#44610)
9952d15
9952d15
* Sat Apr 04 2009 Iain Arnell <iarnell@gmail.com> - 2.09-1
9952d15
- Update to latest upstream
9952d15
9952d15
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.08-2
9952d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9952d15
9952d15
* Fri Dec 05 2008 Iain Arnell <iarnell@gmail.com> - 2.08-1
9952d15
- Specfile autogenerated by cpanspec 1.77
9952d15
- Strip private provides/requires