Blame SPECS/perl-Storable.spec

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