|
|
@ -6,7 +6,7 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Sereal-Encoder
|
|
|
|
Name: perl-Sereal-Encoder
|
|
|
|
Version: 5.003
|
|
|
|
Version: 4.018
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl serialization into Sereal format
|
|
|
|
Summary: Perl serialization into Sereal format
|
|
|
|
# lib/Sereal/Encoder.pm: GPL+ or Artistic
|
|
|
|
# lib/Sereal/Encoder.pm: GPL+ or Artistic
|
|
|
@ -16,10 +16,9 @@ Summary: Perl serialization into Sereal format
|
|
|
|
# snappy: BSD
|
|
|
|
# snappy: BSD
|
|
|
|
# zstd/decompress/zstd_decompress.c: GPLv2 or BSD
|
|
|
|
# zstd/decompress/zstd_decompress.c: GPLv2 or BSD
|
|
|
|
# See <https://github.com/Sereal/Sereal/issues/72>
|
|
|
|
# See <https://github.com/Sereal/Sereal/issues/72>
|
|
|
|
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LGPL-2.1-or-later
|
|
|
|
License: (GPL+ or Artistic) and LGPLv2+
|
|
|
|
URL: https://metacpan.org/release/Sereal-Encoder
|
|
|
|
URL: https://metacpan.org/release/Sereal-Encoder
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-%{version}.tar.gz
|
|
|
|
# Build:
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: csnappy-devel
|
|
|
|
BuildRequires: csnappy-devel
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
@ -32,7 +31,7 @@ BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Devel::CheckLib) >= 1.16
|
|
|
|
BuildRequires: perl(Devel::CheckLib)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
|
|
|
|
# File::Find not used
|
|
|
|
# File::Find not used
|
|
|
|
# File::Path not used in inc/Sereal/BuildTools.pm
|
|
|
|
# File::Path not used in inc/Sereal/BuildTools.pm
|
|
|
@ -60,7 +59,7 @@ BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Sereal::Decoder) >= %{version}
|
|
|
|
BuildRequires: perl(Sereal::Decoder) >= 4.002
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Test::LongString)
|
|
|
|
BuildRequires: perl(Test::LongString)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
@ -78,6 +77,7 @@ BuildRequires: perl(version)
|
|
|
|
BuildRequires: perl(Test::Deep) >= 0.110
|
|
|
|
BuildRequires: perl(Test::Deep) >= 0.110
|
|
|
|
BuildRequires: perl(Test::Deep::NoTest)
|
|
|
|
BuildRequires: perl(Test::Deep::NoTest)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This library implements an efficient, compact-output, and feature-rich
|
|
|
|
This library implements an efficient, compact-output, and feature-rich
|
|
|
@ -101,110 +101,24 @@ perl -i -ne 'print $_ unless m{^zstd/}' MANIFEST
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
unset DEBUG SEREAL_USE_BUNDLED_LIBS SEREAL_USE_BUNDLED_CSNAPPY \
|
|
|
|
unset DEBUG SEREAL_USE_BUNDLED_LIBS SEREAL_USE_BUNDLED_CSNAPPY \
|
|
|
|
SEREAL_USE_BUNDLED_MINIZ SEREAL_USE_BUNDLED_ZSTD
|
|
|
|
SEREAL_USE_BUNDLED_MINIZ SEREAL_USE_BUNDLED_ZSTD
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
%{make_build}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes
|
|
|
|
%doc Changes
|
|
|
|
%{perl_vendorarch}/auto/Sereal/
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/Sereal/
|
|
|
|
%{perl_vendorarch}/Sereal*
|
|
|
|
%{_mandir}/man3/Sereal::Encoder.3*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Sep 19 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 5.003-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Tue Aug 04 2020 Petr Pisar <ppisar@redhat.com> - 4.018-1
|
|
|
|
- 4.018 bump
|
|
|
|
- 4.018 bump
|
|
|
|
|
|
|
|
|