1659b4
Name:           perl-Storable
1659b4
Epoch:          1
1659b4
Version:        3.15
1659b4
Release:        442%{?dist}
1659b4
Summary:        Persistence for Perl data structures
1659b4
# __Storable__.pm:  GPL+ or Artistic
1659b4
License:        GPL+ or Artistic
1659b4
URL:            https://metacpan.org/release/Storable
1659b4
Source0:        https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Storable-%{version}.tar.gz
1659b4
# Fix deep cloning regular expression objects, RT#134179,
1659b4
# in Perl upstream after 5.31.0
1659b4
Patch0:         Storable-3.15-perl-134179-include-regexps-in-the-seen-objects-tabl.patch
1659b4
# Fix array length check in a store hook, in Perl upstream after 5.31.2
1659b4
Patch1:         Storable-3.16-Storable-make-count-large-enough.patch
1659b4
# Fix a buffer overflow when processing a vstring longer than 2^31-1,
1659b4
# Perl GH#17306, in perl upstream after 5.31.6
1659b4
Patch2:         perl-5.31.6-disallow-vstring-magic-strings-over-2GB-1.patch
1659b4
BuildRequires:  gcc
1659b4
BuildRequires:  make
1659b4
BuildRequires:  perl-devel
1659b4
BuildRequires:  perl-generators
1659b4
BuildRequires:  perl-interpreter
1659b4
BuildRequires:  perl(Config)
1659b4
BuildRequires:  perl(Cwd)
1659b4
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
1659b4
BuildRequires:  perl(File::Copy)
1659b4
BuildRequires:  perl(File::Spec) >= 0.8
1659b4
BuildRequires:  perl(strict)
1659b4
BuildRequires:  perl(warnings)
1659b4
# Win32 not used on Linux
1659b4
# Win32API::File not used on Linux
1659b4
# Run-time:
1659b4
BuildRequires:  perl(Carp)
1659b4
BuildRequires:  perl(Exporter)
1659b4
# Fcntl is optional, but locking is good
1659b4
BuildRequires:  perl(Fcntl)
1659b4
BuildRequires:  perl(IO::File)
1659b4
# Log::Agent is optional
1659b4
BuildRequires:  perl(XSLoader)
1659b4
# Tests:
1659b4
BuildRequires:  perl(base)
1659b4
BuildRequires:  perl(bytes)
1659b4
BuildRequires:  perl(File::Temp)
1659b4
BuildRequires:  perl(integer)
1659b4
BuildRequires:  perl(overload)
1659b4
BuildRequires:  perl(utf8)
1659b4
BuildRequires:  perl(Test::More)
1659b4
BuildRequires:  perl(threads)
1659b4
BuildRequires:  perl(Safe)
1659b4
BuildRequires:  perl(Scalar::Util)
1659b4
BuildRequires:  perl(Tie::Array)
1659b4
# Optional tests:
1659b4
# gzip not used
1659b4
# Data::Dump not used
1659b4
# Data::Dumper not used
1659b4
BuildRequires:  perl(B::Deparse) >= 0.61
1659b4
BuildRequires:  perl(Digest::MD5)
1659b4
BuildRequires:  perl(Hash::Util)
1659b4
# Test::LeakTrace omitted because it's not a core module requried for building
1659b4
# core Storable.
1659b4
BuildRequires:  perl(Tie::Hash)
1659b4
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
1659b4
Requires:       perl(Config)
1659b4
# Fcntl is optional, but locking is good
1659b4
Requires:       perl(Fcntl)
1659b4
Requires:       perl(IO::File)
1659b4
1659b4
%{?perl_default_filter}
1659b4
1659b4
%description
1659b4
The Storable package brings persistence to your Perl data structures
1659b4
containing scalar, array, hash or reference objects, i.e. anything that
1659b4
can be conveniently stored to disk and retrieved at a later time.
1659b4
1659b4
%prep
1659b4
%setup -q -n Storable-%{version}
1659b4
%patch0 -p3
1659b4
%patch1 -p3
1659b4
%patch2 -p3
1659b4
1659b4
%build
1659b4
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
1659b4
%{make_build}
1659b4
1659b4
%install
1659b4
%{make_install}
1659b4
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
1659b4
find $RPM_BUILD_ROOT -type f -name '*.3pm' -size 0 -delete
1659b4
%{_fixperms} $RPM_BUILD_ROOT/*
1659b4
1659b4
%check
1659b4
unset PERL_CORE PERL_TEST_MEMORY PERL_RUN_SLOW_TESTS
1659b4
make test
1659b4
1659b4
%files
1659b4
%doc ChangeLog README
1659b4
%{perl_vendorarch}/auto/*
1659b4
%{perl_vendorarch}/Storable*
1659b4
%{_mandir}/man3/*
1659b4
1659b4
%changelog
1659b4
* Mon Nov 25 2019 Petr Pisar <ppisar@redhat.com> - 1:3.15-442
1659b4
- Fix a buffer overflow when processing a vstring longer than 2^31-1
1659b4
  (Perl GH#17306)
1659b4
1659b4
* Thu Aug 08 2019 Petr Pisar <ppisar@redhat.com> - 1:3.15-441
1659b4
- Fix array length check in a store hook
1659b4
1659b4
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.15-440
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1659b4
1659b4
* Tue Jun 11 2019 Petr Pisar <ppisar@redhat.com> - 1:3.15-439
1659b4
- Fix deep cloning regular expression objects (RT#134179)
1659b4
1659b4
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.15-438
1659b4
- Increase release to favour standalone package
1659b4
1659b4
* Wed Apr 24 2019 Petr Pisar <ppisar@redhat.com> - 1:3.15-1
1659b4
- 3.15 bump
1659b4
1659b4
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11-7
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1659b4
1659b4
* Mon Jan 07 2019 Petr Pisar <ppisar@redhat.com> - 1:3.11-6
1659b4
- Storable-3.11 source archive repackaged without a t/CVE-2015-1592.inc file
1659b4
  (RT#133706)
1659b4
1659b4
* Mon Aug 27 2018 Petr Pisar <ppisar@redhat.com> - 1:3.11-5
1659b4
- Fix recursion check (RT#133326)
1659b4
1659b4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.11-4
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1659b4
1659b4
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.11-3
1659b4
- Perl 5.28 rebuild
1659b4
1659b4
* Tue Jun 05 2018 Petr Pisar <ppisar@redhat.com> - 1:3.11-2
1659b4
- Do not package empty Storable::Limit(3pm) manual page
1659b4
1659b4
* Mon Apr 30 2018 Petr Pisar <ppisar@redhat.com> - 1:3.11-1
1659b4
- 3.11 bump
1659b4
1659b4
* Mon Apr 23 2018 Petr Pisar <ppisar@redhat.com> - 1:3.09-1
1659b4
- 3.09 bump
1659b4
1659b4
* Thu Apr 19 2018 Petr Pisar <ppisar@redhat.com> - 1:3.06-1
1659b4
- 3.06 bump
1659b4
1659b4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.62-396
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1659b4
1659b4
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.62-395
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1659b4
1659b4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.62-394
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1659b4
1659b4
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.62-393
1659b4
- Perl 5.26 rebuild
1659b4
1659b4
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 1:2.62-1
1659b4
- Upgrade to 2.62 as provided in perl-5.25.12
1659b4
1659b4
* Mon Feb 06 2017 Petr Pisar <ppisar@redhat.com> - 1:2.56-368
1659b4
- Fix a stack buffer overflow in deserialization of hooks (RT#130635)
1659b4
- Fix a memory leak of a class name from retrieve_hook() on an exception
1659b4
  (RT#130635)
1659b4
1659b4
* Tue Dec 20 2016 Petr Pisar <ppisar@redhat.com> - 1:2.56-367
1659b4
- Fix crash in Storable when deserializing malformed code reference
1659b4
  (RT#68348, RT#130098)
1659b4
1659b4
* Wed Aug 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.56-366
1659b4
- Avoid loading optional modules from default . (CVE-2016-1238)
1659b4
1659b4
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.56-365
1659b4
- Increase release to favour standalone package
1659b4
1659b4
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.56-1
1659b4
- 2.56 bump in order to dual-live with perl 5.24
1659b4
1659b4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.53-347
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1659b4
1659b4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.53-346
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1659b4
1659b4
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.53-345
1659b4
- Increase release to favour standalone package
1659b4
1659b4
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.53-2
1659b4
- Perl 5.22 rebuild
1659b4
1659b4
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 1:2.53-1
1659b4
- 2.53 bump in order to dual-live with perl 5.22
1659b4
1659b4
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.51-4
1659b4
- Increase Epoch to favour standalone package
1659b4
1659b4
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.51-3
1659b4
- Perl 5.20 rebuild
1659b4
1659b4
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.51-2
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1659b4
1659b4
* Mon Jul 07 2014 Petr Pisar <ppisar@redhat.com> - 2.51-1
1659b4
- 2.51 bump
1659b4
1659b4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.45-3
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1659b4
1659b4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.45-2
1659b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1659b4
1659b4
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.45-1
1659b4
- 2.45 bump
1659b4
1659b4
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.39-3
1659b4
- Link minimal build-root packages against libperl.so explicitly
1659b4
1659b4
* Tue Jun 11 2013 Petr Pisar <ppisar@redhat.com> - 2.39-2
1659b4
- Do not export private libraries
1659b4
1659b4
* Fri May 24 2013 Petr Pisar <ppisar@redhat.com> 2.39-1
1659b4
- Specfile autogenerated by cpanspec 1.78.