|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: perl-Sereal-Encoder
|
|
|
|
|
Version: 4.007
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 4.008
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Perl serialization into Sereal format
|
|
|
|
|
# lib/Sereal/Encoder.pm: GPL+ or Artistic
|
|
|
|
|
# qsort.h: LGPLv2+ (borrowed from glibc)
|
|
|
|
@ -37,7 +37,6 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
|
|
|
|
|
# File::Spec not used in inc/Sereal/BuildTools.pm
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
@ -84,16 +83,16 @@ serializer using a binary protocol called Sereal.
|
|
|
|
|
%setup -q -n Sereal-Encoder-%{version}
|
|
|
|
|
# Remove bundled Perl modules
|
|
|
|
|
rm -r ./inc/Devel
|
|
|
|
|
sed -i -e '/^inc\/Devel\//d' MANIFEST
|
|
|
|
|
perl -i -ne 'print $_ unless m{^inc/Devel/}' MANIFEST
|
|
|
|
|
# Remove bundled csnappy
|
|
|
|
|
rm -r ./snappy
|
|
|
|
|
sed -i -e '/^snappy\//d' MANIFEST
|
|
|
|
|
perl -i -ne 'print $_ unless m{^snappy/}' MANIFEST
|
|
|
|
|
# Remove bundled miniz
|
|
|
|
|
rm miniz.*
|
|
|
|
|
sed -i -e '/^miniz\./d' MANIFEST
|
|
|
|
|
perl -i -ne 'print $_ unless m{^miniz\.}' MANIFEST
|
|
|
|
|
# Remove bundled zstd
|
|
|
|
|
rm -r zstd
|
|
|
|
|
sed -i -e '/^zstd\//d' MANIFEST
|
|
|
|
|
perl -i -ne 'print $_ unless m{^zstd/}' MANIFEST
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
unset DEBUG SEREAL_USE_BUNDLED_LIBS SEREAL_USE_BUNDLED_CSNAPPY \
|
|
|
|
@ -116,6 +115,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 30 2020 Petr Pisar <ppisar@redhat.com> - 4.008-1
|
|
|
|
|
- 4.008 bump
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.007-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|