|
|
@ -1,21 +1,25 @@
|
|
|
|
Name: perl-Sereal-Encoder
|
|
|
|
Name: perl-Sereal-Encoder
|
|
|
|
Version: 3.006
|
|
|
|
Version: 3.007
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl serialization into Serial format
|
|
|
|
Summary: Perl serialization into Serial format
|
|
|
|
# lib/Sereal/Encoder.pm: GPL+ or Artistic
|
|
|
|
# lib/Sereal/Encoder.pm: GPL+ or Artistic
|
|
|
|
|
|
|
|
# qsort.h: LGPLv2+ (borrowed from glibc)
|
|
|
|
# miniz.c: Unlicense (unbundled)
|
|
|
|
# miniz.c: Unlicense (unbundled)
|
|
|
|
# snappy: BSD (unbundled)
|
|
|
|
# snappy: BSD (unbundled)
|
|
|
|
# See <https://github.com/Sereal/Sereal/issues/72>
|
|
|
|
# See <https://github.com/Sereal/Sereal/issues/72>
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: (GPL+ or Artistic) and LGPLv2+
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Sereal-Encoder/
|
|
|
|
URL: http://search.cpan.org/dist/Sereal-Encoder/
|
|
|
|
Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-%{version}.tar.gz
|
|
|
|
|
|
|
|
# Fix a semantic bug, <https://github.com/Sereal/Sereal/issues/116>
|
|
|
|
|
|
|
|
Patch0: Sereal-3.007-Add-missing-parentheses-to-SRL_ENC_HAVE_OPTION-argum.patch
|
|
|
|
BuildRequires: csnappy-devel
|
|
|
|
BuildRequires: csnappy-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: miniz-devel
|
|
|
|
BuildRequires: miniz-devel
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Devel::CheckLib)
|
|
|
|
BuildRequires: perl(Devel::CheckLib)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
@ -25,12 +29,12 @@ BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
# Benchmark not used
|
|
|
|
# Benchmark not used
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Devel::Peek)
|
|
|
|
BuildRequires: perl(Devel::Peek)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
@ -45,6 +49,7 @@ BuildRequires: perl(Test::LongString)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::Warn)
|
|
|
|
BuildRequires: perl(Test::Warn)
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
|
|
|
|
BuildRequires: perl(threads::shared)
|
|
|
|
BuildRequires: perl(Tie::Array)
|
|
|
|
BuildRequires: perl(Tie::Array)
|
|
|
|
BuildRequires: perl(Tie::Hash)
|
|
|
|
BuildRequires: perl(Tie::Hash)
|
|
|
|
BuildRequires: perl(Tie::Scalar)
|
|
|
|
BuildRequires: perl(Tie::Scalar)
|
|
|
@ -61,6 +66,7 @@ serializer using a binary protocol called Sereal.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Sereal-Encoder-%{version}
|
|
|
|
%setup -q -n Sereal-Encoder-%{version}
|
|
|
|
|
|
|
|
%patch0 -p3
|
|
|
|
# Remove bundled Perl modules
|
|
|
|
# Remove bundled Perl modules
|
|
|
|
rm -r ./inc/Devel
|
|
|
|
rm -r ./inc/Devel
|
|
|
|
sed -i -s '/^inc\/Devel/d' MANIFEST
|
|
|
|
sed -i -s '/^inc\/Devel/d' MANIFEST
|
|
|
@ -91,6 +97,10 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Nov 27 2015 Petr Pisar <ppisar@redhat.com> - 3.007-1
|
|
|
|
|
|
|
|
- 3.007 bump
|
|
|
|
|
|
|
|
- License changed to ((GPL+ or Artistic) and LGPLv2+)
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 24 2015 Petr Pisar <ppisar@redhat.com> - 3.006-2
|
|
|
|
* Tue Nov 24 2015 Petr Pisar <ppisar@redhat.com> - 3.006-2
|
|
|
|
- Sereal::Decoder is always needed for tests
|
|
|
|
- Sereal::Decoder is always needed for tests
|
|
|
|
|
|
|
|
|
|
|
|