|
|
|
@ -1,16 +1,12 @@
|
|
|
|
|
Name: perl-Storable
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 3.11
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 3.15
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Persistence for Perl data structures
|
|
|
|
|
# __Storable__.pm: GPL+ or Artistic
|
|
|
|
|
## Not in the binary packages
|
|
|
|
|
# t/CVE-2015-1592.inc: BSD (same as Metasploit Framwork)
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Storable
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Storable-%{version}.tar.gz
|
|
|
|
|
# bash for stacksize script (ulimit) that is executed at build time
|
|
|
|
|
BuildRequires: bash
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
@ -26,7 +22,6 @@ BuildRequires: perl(warnings)
|
|
|
|
|
# Win32 not used on Linux
|
|
|
|
|
# Win32API::File not used on Linux
|
|
|
|
|
# Run-time:
|
|
|
|
|
# Carp substitutes missing Log::Agent
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
# Fcntl is optional, but locking is good
|
|
|
|
@ -57,8 +52,6 @@ BuildRequires: perl(Hash::Util)
|
|
|
|
|
# core Storable.
|
|
|
|
|
BuildRequires: perl(Tie::Hash)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
# Carp substitutes missing Log::Agent
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Requires: perl(Config)
|
|
|
|
|
# Fcntl is optional, but locking is good
|
|
|
|
|
Requires: perl(Fcntl)
|
|
|
|
@ -75,17 +68,17 @@ can be conveniently stored to disk and retrieved at a later time.
|
|
|
|
|
%setup -q -n Storable-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
%{make_install}
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.3pm' -size 0 -delete
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
unset PERL_TEST_MEMORY PERL_RUN_SLOW_TESTS
|
|
|
|
|
unset PERL_CORE PERL_TEST_MEMORY PERL_RUN_SLOW_TESTS
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -95,6 +88,16 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 24 2019 Petr Pisar <ppisar@redhat.com> - 1:3.15-1
|
|
|
|
|
- 3.15 bump
|
|
|
|
|
|
|
|
|
|
* Mon Jan 07 2019 Petr Pisar <ppisar@redhat.com> - 1:3.11-4
|
|
|
|
|
- Storable-3.11 source archive repackaged without a t/CVE-2015-1592.inc file
|
|
|
|
|
(RT#133706)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 27 2018 Petr Pisar <ppisar@redhat.com> - 1:3.11-3
|
|
|
|
|
- Fix recursion check (RT#133326)
|
|
|
|
|
|
|
|
|
|
* Tue Jun 05 2018 Petr Pisar <ppisar@redhat.com> - 1:3.11-2
|
|
|
|
|
- Do not package empty Storable::Limit(3pm) manual page
|
|
|
|
|
|
|
|
|
|