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