Compare commits

...

3 Commits
rawhide ... f28

Author SHA1 Message Date
Petr Písař 3f68b959fa 3.15 bump 2019-04-24 10:36:49 +02:00
Petr Písař 3f41b4e55e Storable-3.11 source archive repackaged without a t/CVE-2015-1592.inc file 2019-04-24 10:36:15 +02:00
Petr Písař 10ca829a4f Fix recursion check 2018-08-27 10:30:32 +02:00
3 changed files with 19 additions and 14 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
/Storable-3.06.tar.gz
/Storable-3.09.tar.gz
/Storable-3.11.tar.gz
/Storable-3.11_repackaged.tar.gz
/Storable-3.15.tar.gz

View File

@ -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

View File

@ -1 +1 @@
SHA512 (Storable-3.11.tar.gz) = da27b56dd422d4ae0bad225c0b0dcc91beff546d0cc537643da5530e8d50f421e88b960a2ac9f09867448e28a10743790d935aa0c1b6c8456d059430e1f7ffe9
SHA512 (Storable-3.15.tar.gz) = cd84d50a75b2d639b3075a671615ca1e879fe7b3322bf987843b5c08a8644807b58a671bee340f9694645d789b5a0f7ae93176cb06c94d795fe629697ca077ba