Compare commits

...

31 Commits
f31 ... rawhide

Author SHA1 Message Date
Paul Howarth c952d759ca Update to 5.004 (rhbz#2188043)
- New upstream release 5.004
  - Decoder fixes: fix thaw ordering for frozen objects - nested THAW
    operations now happen in the documented LIFO order (GH#283, GH#285)
2023-04-19 18:45:26 +01:00
Paul Howarth ad3753484d Update to 5.003 (rhbz#2168016)
- New upstream release 5.003
  - Update Miniz to 3.0.2, Zstd to 1.5.2 and Devel::CheckLib to 1.16
    (note: this package uses the system versions of these)
  - Assorted build fixes related to these updates
  - OpenBSD build fixes
2023-02-08 09:23:49 +00:00
Paul Howarth cfe1bfe803 Update to 5.002 (rhbz#2166281)
- New upstream release 5.002
  - Fix up Decoder tests to run on perl 5.8, which has no defined-or
  - Ensure that Encoder depends on the correct version of the Decoder
  - Test compatibility fixes when no perl is already installed
  - Add t/195_backcompat.t to check if the latest decoder will seamlessly
    handle reading output from older versions
  - Test compatibility fixes with version 3 and earlier
2023-02-01 13:41:37 +00:00
Fedora Release Engineering acd96b1d1a Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 05:54:28 +00:00
Jitka Plesnikova b5c87e116c Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 18:19:18 +01:00
Petr Písař 2a7b5b6f65 Rebuild against miniz-3.0.0 2022-11-01 13:24:11 +01:00
Paul Howarth 05a9be2cdd Update to 5.001
- New upstream release 5.001
  - First official release of protocol 5
    - Better support for non-standard NV types
    - Support for the new Perl 5.36 bools
- Use SPDX-format license tag
2022-09-04 12:53:39 +01:00
Paul Howarth c166333848 Update to 4.025
- New upstream release 4.025
  - Changes to the FREEZE/THAW mechanism
    - Remove the part that says that FREEZE cannot return a list; it can, and
      we have supported it for a very long time, although I have not checked
      how far back this support goes
    - If you use the FREEZE/THAW API's you should upgrade to this version
  - Test fixes for t/020_sort_keys.t hanging on some perls that do not come
    bundled with Hash::Util
2022-07-28 15:06:45 +01:00
Fedora Release Engineering 4ed94402bf Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 10:50:29 +00:00
Jitka Plesnikova c18333e143 Perl 5.36 rebuild 2022-05-31 22:09:37 +02:00
Paul Howarth 2830c2f9e4 Update to 4.023
- New upstream release 4.023
  - Make it possible to upgrade with passing tests when using
    Sereal::Decoder 4.015-4.019 on threaded debugging perls
2022-02-20 10:51:23 +00:00
Paul Howarth 4356ba10e4 Update to 4.022
- New upstream release 4.022
  - Better logic to make it possible to upgrade with passing tests when using
    Sereal::Decoder 4.019 on threaded debugging perls
2022-02-19 13:32:46 +00:00
Paul Howarth 377f2e15ee Update to 4.021
- New upstream release 4.021
  - Make it possible to upgrade with passing tests when using
    Sereal::Decoder 4.019 on threaded debugging perls
2022-02-18 09:02:21 +00:00
Paul Howarth b864cd0b97 Update to 4.020
- New upstream release 4.020
  - Fix "panic: free from wrong pool" errors on threaded builds
2022-02-17 12:45:50 +00:00
Paul Howarth 76acdae435 Update to 4.019
- New upstream release 4.019
  - Fix build issue with latest perl
  - Update bundled zstd to 1.5.1 (note: this package uses system zstd)
- Fix permissions verbosely
- Make %files list more explicit
2022-02-07 13:30:12 +00:00
Fedora Release Engineering 2f17775d59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 05:03:54 +00:00
Fedora Release Engineering 8cd8537de7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 23:37:48 +00:00
Jitka Plesnikova e2df7626b4 Perl 5.34 rebuild 2021-05-21 23:48:16 +02:00
Fedora Release Engineering 2de63d7b2e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 04:27:10 +00:00
Petr Písař 91d860ccd1 4.018 bump 2020-08-04 10:17:08 +02:00
Fedora Release Engineering f4d35a753f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 18:41:03 +00:00
Petr Písař ff8386e47e 4.017 bump 2020-07-10 12:53:22 +02:00
Petr Písař a30a9e510b 4.015 bump 2020-07-08 10:32:31 +02:00
Jitka Plesnikova edf69f3185 Perl 5.32 rebuild 2020-06-23 12:04:22 +02:00
Petr Písař 878100c782 4.014 bump 2020-06-15 17:20:28 +02:00
Petr Písař d18012d9a2 4.012 bump 2020-06-11 10:13:51 +02:00
Petr Písař d61de19530 4.011 bump 2020-02-04 11:40:04 +01:00
Petr Písař 437546ce55 Build-require Hash::Util needed for tests 2020-02-03 14:02:13 +01:00
Petr Písař ef67586fd8 4.009 bump 2020-02-03 11:39:51 +01:00
Petr Písař 695ec505be 4.008 bump 2020-01-30 15:55:18 +01:00
Fedora Release Engineering ae35d4d105 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 04:17:09 +00:00
4 changed files with 166 additions and 23 deletions

18
.gitignore vendored
View File

@ -12,3 +12,21 @@
/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
/Sereal-Encoder-4.012.tar.gz
/Sereal-Encoder-4.014.tar.gz
/Sereal-Encoder-4.015.tar.gz
/Sereal-Encoder-4.017.tar.gz
/Sereal-Encoder-4.018.tar.gz
/Sereal-Encoder-4.019.tar.gz
/Sereal-Encoder-4.020.tar.gz
/Sereal-Encoder-4.021.tar.gz
/Sereal-Encoder-4.022.tar.gz
/Sereal-Encoder-4.023.tar.gz
/Sereal-Encoder-4.025.tar.gz
/Sereal-Encoder-5.001.tar.gz
/Sereal-Encoder-5.002.tar.gz
/Sereal-Encoder-5.003.tar.gz
/Sereal-Encoder-5.004.tar.gz

View File

@ -1,2 +0,0 @@
from Config import *
addFilter("spelling-error .* serializer");

View File

@ -6,18 +6,20 @@
%endif
Name: perl-Sereal-Encoder
Version: 4.007
Release: 5%{?dist}
Version: 5.004
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/decompress/zstd_decompress.c: GPLv2 or BSD
# See <https://github.com/Sereal/Sereal/issues/72>
License: (GPL+ or Artistic) and LGPLv2+
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LGPL-2.1-or-later
URL: https://metacpan.org/release/Sereal-Encoder
Source0: https://cpan.metacpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-%{version}.tar.gz
# Build:
BuildRequires: coreutils
BuildRequires: csnappy-devel
BuildRequires: findutils
@ -30,14 +32,13 @@ BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Devel::CheckLib)
BuildRequires: perl(Devel::CheckLib) >= 1.16
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
# File::Find not used
# File::Path not used in inc/Sereal/BuildTools.pm
# 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,12 +52,15 @@ 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)
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Sereal::Decoder) >= 4.002
BuildRequires: perl(Sereal::Decoder) >= %{version}
BuildRequires: perl(Storable)
BuildRequires: perl(Test::LongString)
BuildRequires: perl(Test::More) >= 0.88
@ -74,7 +78,6 @@ BuildRequires: perl(version)
BuildRequires: perl(Test::Deep) >= 0.110
BuildRequires: perl(Test::Deep::NoTest)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This library implements an efficient, compact-output, and feature-rich
@ -84,38 +87,162 @@ 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 \
SEREAL_USE_BUNDLED_MINIZ SEREAL_USE_BUNDLED_ZSTD
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
%{make_build}
%install
%{make_install}
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%doc Changes
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Sereal*
%{_mandir}/man3/*
%{perl_vendorarch}/auto/Sereal/
%{perl_vendorarch}/Sereal/
%{_mandir}/man3/Sereal::Encoder.3*
%changelog
* Wed Apr 19 2023 Paul Howarth <paul@city-fan.org> - 5.004-1
- Update to 5.004 (rhbz#2188043)
- Decoder fixes: fix thaw ordering for frozen objects - nested THAW
operations now happen in the documented LIFO order (GH#283, GH#285)
* Wed Feb 8 2023 Paul Howarth <paul@city-fan.org> - 5.003-1
- Update to 5.003 (rhbz#2168016)
- Update Miniz to 3.0.2, Zstd to 1.5.2 and Devel::CheckLib to 1.16
(note: this package uses the system versions of these)
- Assorted build fixes related to these updates
- OpenBSD build fixes
* Wed Feb 1 2023 Paul Howarth <paul@city-fan.org> - 5.002-1
- Update to 5.002 (rhbz#2166281)
- Fix up Decoder tests to run on perl 5.8, which has no defined-or
- Ensure that Encoder depends on the correct version of the Decoder
- Test compatibility fixes when no perl is already installed
- Add t/195_backcompat.t to check if the latest decoder will seamlessly
handle reading output from older versions
- Test compatibility fixes with version 3 and earlier
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.001-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Nov 01 2022 Petr Pisar <ppisar@redhat.com> - 5.001-2
- Rebuild against miniz-3.0.0 (bug #2137798)
* Sun Sep 4 2022 Paul Howarth <paul@city-fan.org> - 5.001-1
- Update to 5.001
- First official release of protocol 5
- Better support for non-standard NV types
- Support for the new Perl 5.36 bools
- Use SPDX-format license tag
* Thu Jul 28 2022 Paul Howarth <paul@city-fan.org> - 4.025-1
- Update to 4.025
- Changes to the FREEZE/THAW mechanism
- Remove the part that says that FREEZE cannot return a list; it can, and
we have supported it for a very long time, although I have not checked
how far back this support goes
- If you use the FREEZE/THAW API's you should upgrade to this version
- Test fixes for t/020_sort_keys.t hanging on some perls that do not come
bundled with Hash::Util
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.023-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4.023-2
- Perl 5.36 rebuild
* Sun Feb 20 2022 Paul Howarth <paul@city-fan.org> - 4.023-1
- Update to 4.023
- Make it possible to upgrade with passing tests when using
Sereal::Decoder 4.015-4.019 on threaded debugging perls
* Sat Feb 19 2022 Paul Howarth <paul@city-fan.org> - 4.022-1
- Update to 4.022
- Better logic to make it possible to upgrade with passing tests when using
Sereal::Decoder 4.019 on threaded debugging perls
* Fri Feb 18 2022 Paul Howarth <paul@city-fan.org> - 4.021-1
- Update to 4.021
- Make it possible to upgrade with passing tests when using
Sereal::Decoder 4.019 on threaded debugging perls
* Thu Feb 17 2022 Paul Howarth <paul@city-fan.org> - 4.020-1
- Update to 4.020
- Fix "panic: free from wrong pool" errors on threaded builds
* Mon Feb 7 2022 Paul Howarth <paul@city-fan.org> - 4.019-1
- Update to 4.019
- Fix build issue with latest perl
- Update bundled zstd to 1.5.1 (note: this package uses system zstd)
- Fix permissions verbosely
- Make %%files list more explicit
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.018-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.018-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4.018-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.018-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Aug 04 2020 Petr Pisar <ppisar@redhat.com> - 4.018-1
- 4.018 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.017-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 10 2020 Petr Pisar <ppisar@redhat.com> - 4.017-1
- 4.017 bump
* Wed Jul 08 2020 Petr Pisar <ppisar@redhat.com> - 4.015-1
- 4.015 bump
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4.014-2
- Perl 5.32 rebuild
* Mon Jun 15 2020 Petr Pisar <ppisar@redhat.com> - 4.014-1
- 4.014 bump
* Thu Jun 11 2020 Petr Pisar <ppisar@redhat.com> - 4.012-1
- 4.012 bump
* 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
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.007-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.007-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Sereal-Encoder-4.007.tar.gz) = cd0cc13993f71cafa496790cec679828a18eedb933c63675adff25bc8cae0a21073b5845a91f8022195225d925f1b49289c62b6faa44bb773384d371bc5a2046
SHA512 (Sereal-Encoder-5.004.tar.gz) = 6ad25a4a3cdc3e7de7b7f47b7511154b5e6eca90a54b305a8d50f59dd1352000f054255912c4eeb6d37991813844068b1a0e2f544be27ac9bcea08fb6c0fc6d5