|
|
5b2ff7 |
Name: perl-Storable
|
|
|
362b40 |
Version: 2.45
|
|
|
362b40 |
Release: 3%{?dist}
|
|
|
5b2ff7 |
Summary: Persistence for Perl data structures
|
|
|
5b2ff7 |
License: GPL+ or Artistic
|
|
|
5b2ff7 |
Group: Development/Libraries
|
|
|
5b2ff7 |
URL: http://search.cpan.org/dist/Storable/
|
|
|
5b2ff7 |
Source0: http://www.cpan.org/authors/id/A/AM/AMS/Storable-%{version}.tar.gz
|
|
|
5b2ff7 |
BuildRequires: perl
|
|
|
5b2ff7 |
BuildRequires: perl(Config)
|
|
|
5b2ff7 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
5b2ff7 |
# Run-time:
|
|
|
5b2ff7 |
# Carp substitutes missing Log::Agent
|
|
|
5b2ff7 |
BuildRequires: perl(Carp)
|
|
|
5b2ff7 |
BuildRequires: perl(Exporter)
|
|
|
5b2ff7 |
# Fcntl is optional, but locking is good
|
|
|
5b2ff7 |
BuildRequires: perl(Fcntl)
|
|
|
5b2ff7 |
BuildRequires: perl(IO::File)
|
|
|
5b2ff7 |
# Log::Agent is optional
|
|
|
5b2ff7 |
BuildRequires: perl(vars)
|
|
|
5b2ff7 |
BuildRequires: perl(XSLoader)
|
|
|
5b2ff7 |
# Tests:
|
|
|
5b2ff7 |
BuildRequires: perl(bytes)
|
|
|
5b2ff7 |
BuildRequires: perl(integer)
|
|
|
5b2ff7 |
BuildRequires: perl(overload)
|
|
|
5b2ff7 |
BuildRequires: perl(Test::More)
|
|
|
5b2ff7 |
BuildRequires: perl(threads)
|
|
|
5b2ff7 |
BuildRequires: perl(Safe)
|
|
|
5b2ff7 |
BuildRequires: perl(Scalar::Util)
|
|
|
5b2ff7 |
BuildRequires: perl(strict)
|
|
|
5b2ff7 |
# Optional tests:
|
|
|
5b2ff7 |
# Data::Dump not used
|
|
|
5b2ff7 |
# Data::Dumper not used
|
|
|
5b2ff7 |
BuildRequires: perl(B::Deparse) >= 0.61
|
|
|
362b40 |
BuildRequires: perl(Digest::MD5)
|
|
|
5b2ff7 |
BuildRequires: perl(File::Spec) >= 0.8
|
|
|
5b2ff7 |
BuildRequires: perl(Hash::Util)
|
|
|
5b2ff7 |
BuildRequires: perl(Tie::Hash)
|
|
|
5b2ff7 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
5b2ff7 |
# Carp substitutes missing Log::Agent
|
|
|
5b2ff7 |
Requires: perl(Carp)
|
|
|
5b2ff7 |
Requires: perl(Config)
|
|
|
5b2ff7 |
# Fcntl is optional, but locking is good
|
|
|
5b2ff7 |
Requires: perl(Fcntl)
|
|
|
5b2ff7 |
Requires: perl(IO::File)
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%{?perl_default_filter}
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%description
|
|
|
5b2ff7 |
The Storable package brings persistence to your Perl data structures
|
|
|
5b2ff7 |
containing scalar, array, hash or reference objects, i.e. anything that
|
|
|
5b2ff7 |
can be conveniently stored to disk and retrieved at a later time.
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%prep
|
|
|
5b2ff7 |
%setup -q -n Storable-%{version}
|
|
|
5b2ff7 |
# Remove bundled modules
|
|
|
5b2ff7 |
rm -rf t/compat
|
|
|
5b2ff7 |
sed -i -e '/^t\/compat\//d' MANIFEST
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%build
|
|
|
5b2ff7 |
# Be ware hints/linux.pl removes "-ON" from CFLAGS if N > 2 because it can
|
|
|
5b2ff7 |
# break the code.
|
|
|
5b2ff7 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
5b2ff7 |
make %{?_smp_mflags}
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%install
|
|
|
5b2ff7 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
5b2ff7 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
5b2ff7 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
5b2ff7 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%check
|
|
|
5b2ff7 |
make test
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%files
|
|
|
5b2ff7 |
%doc ChangeLog README
|
|
|
5b2ff7 |
%{perl_vendorarch}/auto/*
|
|
|
5b2ff7 |
%{perl_vendorarch}/Storable*
|
|
|
5b2ff7 |
%{_mandir}/man3/*
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
%changelog
|
|
|
362b40 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.45-3
|
|
|
362b40 |
- Mass rebuild 2014-01-24
|
|
|
362b40 |
|
|
|
362b40 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.45-2
|
|
|
362b40 |
- Mass rebuild 2013-12-27
|
|
|
362b40 |
|
|
|
362b40 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.45-1
|
|
|
362b40 |
- 2.45 bump
|
|
|
362b40 |
|
|
|
5b2ff7 |
* Tue Jun 11 2013 Petr Pisar <ppisar@redhat.com> - 2.39-2
|
|
|
5b2ff7 |
- Do not export private libraries
|
|
|
5b2ff7 |
|
|
|
5b2ff7 |
* Fri May 24 2013 Petr Pisar <ppisar@redhat.com> 2.39-1
|
|
|
5b2ff7 |
- Specfile autogenerated by cpanspec 1.78.
|