You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
134 lines
4.0 KiB
134 lines
4.0 KiB
# Run optional test
|
|
%bcond_without perl_Sereal_enables_optional_test
|
|
|
|
Name: perl-Sereal
|
|
Version: 4.005
|
|
Release: 1%{?dist}
|
|
Summary: Fast, compact, powerful binary (de-)serialization
|
|
# Makefile.PL defines LICENSE
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Sereal/
|
|
Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: make
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl-interpreter
|
|
# blib not used
|
|
BuildRequires: perl(Config)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(Cwd)
|
|
# Devel::CheckLib not used
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
# File::Find not used
|
|
# File::Path not used
|
|
# File::Spec not used
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time:
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(Sereal::Decoder) >= 4.005
|
|
BuildRequires: perl(Sereal::Encoder) >= 4.005
|
|
# Tests:
|
|
# Benchmark not used
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(Devel::Peek)
|
|
BuildRequires: perl(Encode)
|
|
BuildRequires: perl(File::Path)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(integer)
|
|
BuildRequires: perl(lib)
|
|
BuildRequires: perl(List::Util)
|
|
BuildRequires: perl(overload)
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Sereal::Decoder::Constants)
|
|
BuildRequires: perl(Sereal::Encoder::Constants)
|
|
BuildRequires: perl(Storable)
|
|
BuildRequires: perl(Test::LongString)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::Warn)
|
|
BuildRequires: perl(Tie::Array)
|
|
BuildRequires: perl(Tie::Hash)
|
|
BuildRequires: perl(Tie::Scalar)
|
|
# Time::HiRes not used
|
|
BuildRequires: perl(threads)
|
|
BuildRequires: perl(threads::shared)
|
|
BuildRequires: perl(utf8)
|
|
BuildRequires: perl(version)
|
|
%if %{with perl_Sereal_enables_optional_test}
|
|
# Optional tests:
|
|
BuildRequires: perl(Test::Deep) >= 0.110
|
|
BuildRequires: perl(Test::Deep::NoTest)
|
|
%endif
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%description
|
|
Sereal is an efficient, compact-output, binary and feature-rich serialization
|
|
protocol. The Perl encoder is implemented as the Sereal::Encoder module, the
|
|
Perl decoder correspondingly as Sereal::Decoder. This Sereal module is a very
|
|
thin wrapper around both Sereal::Encoder and Sereal::Decoder. It depends on
|
|
both and loads both.
|
|
|
|
%prep
|
|
%setup -q -n Sereal-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Wed Jan 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.005-1
|
|
- 4.005 bump
|
|
|
|
* Tue Nov 14 2017 Petr Pisar <ppisar@redhat.com> - 4.004-1
|
|
- 4.004 bump
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.015-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.015-3
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.015-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Mon Sep 05 2016 Petr Pisar <ppisar@redhat.com> - 3.015-1
|
|
- 3.015 bump
|
|
|
|
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.014-3
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.014-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Mon Dec 07 2015 Petr Pisar <ppisar@redhat.com> - 3.014-1
|
|
- 3.014 bump
|
|
|
|
* Wed Dec 02 2015 Petr Pisar <ppisar@redhat.com> - 3.009-1
|
|
- 3.009 bump
|
|
|
|
* Mon Nov 30 2015 Petr Pisar <ppisar@redhat.com> - 3.008-1
|
|
- 3.008 bump
|
|
|
|
* Fri Nov 27 2015 Petr Pisar <ppisar@redhat.com> - 3.007-1
|
|
- 3.007 bump
|
|
|
|
* Mon Nov 16 2015 Petr Pisar <ppisar@redhat.com> - 3.006-1
|
|
- 3.006 bump
|
|
|
|
* Tue Sep 29 2015 Petr Pisar <ppisar@redhat.com> 3.005-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|