Compare commits

...

4 Commits
rawhide ... f30

Author SHA1 Message Date
Petr Písař 1cf751960b 4.011 bump 2020-02-12 10:14:13 +01:00
Petr Písař 2156323ac3 Build-require Hash::Util needed for tests 2020-02-12 10:14:13 +01:00
Petr Písař 770e0e56e3 4.009 bump 2020-02-03 11:42:57 +01:00
Petr Písař 1e0c9ac466 4.008 bump 2020-01-30 16:01:45 +01:00
3 changed files with 30 additions and 11 deletions

3
.gitignore vendored
View File

@ -12,3 +12,6 @@
/Sereal-Encoder-4.005.tar.gz
/Sereal-Encoder-4.006.tar.gz
/Sereal-Encoder-4.007.tar.gz
/Sereal-Encoder-4.008.tar.gz
/Sereal-Encoder-4.009.tar.gz
/Sereal-Encoder-4.011.tar.gz

View File

@ -6,14 +6,16 @@
%endif
Name: perl-Sereal-Encoder
Version: 4.007
Release: 2%{?dist}
Version: 4.011
Release: 1%{?dist}
Summary: Perl serialization into Sereal format
# lib/Sereal/Encoder.pm: GPL+ or Artistic
# qsort.h: LGPLv2+ (borrowed from glibc)
# miniz.c: Unlicense (unbundled)
# snappy: BSD (unbundled)
# zstd: BSD (unbundled)
## Unbundled
# miniz.c: MIT and Unlicense
# snappy: BSD
# zstd/zstd/decompress/zstd_decompress.c: GPLv2 or BSD
# zstd/zstd/decompress/huf_decompress.c: BSD
# See <https://github.com/Sereal/Sereal/issues/72>
License: (GPL+ or Artistic) and LGPLv2+
URL: https://metacpan.org/release/Sereal-Encoder
@ -37,7 +39,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)
@ -51,6 +52,9 @@ BuildRequires: perl(Devel::Peek)
BuildRequires: perl(Encode)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
# Hash::Util is needed on perl >= 5.25. It's in an eval to proceed to
# num_buckets() definition with older perls.
BuildRequires: perl(Hash::Util)
BuildRequires: perl(integer)
BuildRequires: perl(lib)
BuildRequires: perl(List::Util)
@ -84,16 +88,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 +120,18 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Feb 04 2020 Petr Pisar <ppisar@redhat.com> - 4.011-1
- 4.011 bump
* Mon Feb 03 2020 Petr Pisar <ppisar@redhat.com> - 4.009-2
- Build-require Hash::Util needed for tests
* Mon Feb 03 2020 Petr Pisar <ppisar@redhat.com> - 4.009-1
- 4.009 bump
* Thu Jan 30 2020 Petr Pisar <ppisar@redhat.com> - 4.008-1
- 4.008 bump
* Fri Apr 26 2019 Petr Pisar <ppisar@redhat.com> - 4.007-2
- Correct a summary (bug #1703269)

View File

@ -1 +1 @@
SHA512 (Sereal-Encoder-4.007.tar.gz) = cd0cc13993f71cafa496790cec679828a18eedb933c63675adff25bc8cae0a21073b5845a91f8022195225d925f1b49289c62b6faa44bb773384d371bc5a2046
SHA512 (Sereal-Encoder-4.011.tar.gz) = 305aeaf36e8d16c3a0d5e9210c1501bef40cb65ba956c6de1b8fe734a6f3dd7927aea57ddf5e7757a18ccefb2b75c3a7b6d1006a06176f6b4b9a82f0179e00f9