|
|
73c5b8 |
%{?scl:%scl_package perl-Storable}
|
|
|
73c5b8 |
|
|
|
73c5b8 |
Name: %{?scl_prefix}perl-Storable
|
|
|
73c5b8 |
Epoch: 1
|
|
|
73c5b8 |
Version: 2.51
|
|
|
73c5b8 |
Release: 4%{?dist}
|
|
|
73c5b8 |
Summary: Persistence for Perl data structures
|
|
|
73c5b8 |
License: GPL+ or Artistic
|
|
|
73c5b8 |
Group: Development/Libraries
|
|
|
73c5b8 |
URL: http://search.cpan.org/dist/Storable/
|
|
|
73c5b8 |
Source0: http://www.cpan.org/authors/id/A/AM/AMS/Storable-%{version}.tar.gz
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
73c5b8 |
# Run-time:
|
|
|
73c5b8 |
# Carp substitutes missing Log::Agent
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
73c5b8 |
# Fcntl is optional, but locking is good
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Fcntl)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(IO::File)
|
|
|
73c5b8 |
# Log::Agent is optional
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(XSLoader)
|
|
|
73c5b8 |
# Tests:
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(bytes)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(integer)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(overload)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Test::More)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(threads)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Safe)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Scalar::Util)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
73c5b8 |
# Optional tests:
|
|
|
73c5b8 |
# Data::Dump not used
|
|
|
73c5b8 |
# Data::Dumper not used
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(B::Deparse) >= 0.61
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Digest::MD5)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(File::Spec) >= 0.8
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Hash::Util)
|
|
|
73c5b8 |
BuildRequires: %{?scl_prefix}perl(Tie::Hash)
|
|
|
73c5b8 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
73c5b8 |
# Carp substitutes missing Log::Agent
|
|
|
73c5b8 |
Requires: %{?scl_prefix}perl(Carp)
|
|
|
73c5b8 |
Requires: %{?scl_prefix}perl(Config)
|
|
|
73c5b8 |
# Fcntl is optional, but locking is good
|
|
|
73c5b8 |
Requires: %{?scl_prefix}perl(Fcntl)
|
|
|
73c5b8 |
Requires: %{?scl_prefix}perl(IO::File)
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%{?perl_default_filter}
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%description
|
|
|
73c5b8 |
The Storable package brings persistence to your Perl data structures
|
|
|
73c5b8 |
containing scalar, array, hash or reference objects, i.e. anything that
|
|
|
73c5b8 |
can be conveniently stored to disk and retrieved at a later time.
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%prep
|
|
|
73c5b8 |
%setup -q -n Storable-%{version}
|
|
|
73c5b8 |
# Remove bundled modules
|
|
|
73c5b8 |
rm -rf t/compat
|
|
|
73c5b8 |
sed -i -e '/^t\/compat\//d' MANIFEST
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%build
|
|
|
73c5b8 |
# Be ware hints/linux.pl removes "-ON" from CFLAGS if N > 2 because it can
|
|
|
73c5b8 |
# break the code.
|
|
|
73c5b8 |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'}
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%install
|
|
|
73c5b8 |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
|
|
|
73c5b8 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
73c5b8 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
73c5b8 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%check
|
|
|
73c5b8 |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%files
|
|
|
73c5b8 |
%doc ChangeLog README
|
|
|
73c5b8 |
%{perl_vendorarch}/auto/*
|
|
|
73c5b8 |
%{perl_vendorarch}/Storable*
|
|
|
73c5b8 |
%{_mandir}/man3/*
|
|
|
73c5b8 |
|
|
|
73c5b8 |
%changelog
|
|
|
73c5b8 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.51-4
|
|
|
73c5b8 |
- Increase Epoch to favour standalone package
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.51-3
|
|
|
73c5b8 |
- Perl 5.20 rebuild
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.51-2
|
|
|
73c5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Mon Jul 07 2014 Petr Pisar <ppisar@redhat.com> - 2.51-1
|
|
|
73c5b8 |
- 2.51 bump
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.45-3
|
|
|
73c5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.45-2
|
|
|
73c5b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.45-1
|
|
|
73c5b8 |
- 2.45 bump
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.39-3
|
|
|
73c5b8 |
- Link minimal build-root packages against libperl.so explicitly
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Tue Jun 11 2013 Petr Pisar <ppisar@redhat.com> - 2.39-2
|
|
|
73c5b8 |
- Do not export private libraries
|
|
|
73c5b8 |
|
|
|
73c5b8 |
* Fri May 24 2013 Petr Pisar <ppisar@redhat.com> 2.39-1
|
|
|
73c5b8 |
- Specfile autogenerated by cpanspec 1.78.
|