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
This commit is contained in:
Paul Howarth 2022-02-07 13:30:12 +00:00
parent 2f17775d59
commit 76acdae435
4 changed files with 18 additions and 11 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@
/Sereal-Encoder-4.015.tar.gz
/Sereal-Encoder-4.017.tar.gz
/Sereal-Encoder-4.018.tar.gz
/Sereal-Encoder-4.019.tar.gz

View File

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

View File

@ -6,8 +6,8 @@
%endif
Name: perl-Sereal-Encoder
Version: 4.018
Release: 5%{?dist}
Version: 4.019
Release: 1%{?dist}
Summary: Perl serialization into Sereal format
# lib/Sereal/Encoder.pm: GPL+ or Artistic
# qsort.h: LGPLv2+ (borrowed from glibc)
@ -19,6 +19,7 @@ Summary: Perl serialization into Sereal format
License: (GPL+ or Artistic) and LGPLv2+
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
@ -101,24 +102,31 @@ 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
* 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

View File

@ -1 +1 @@
SHA512 (Sereal-Encoder-4.018.tar.gz) = 021586f02560906fa315cf7eefc877ff029c123550dd2889a90d8e36e2d480bc4c53fa7437728cb73bda6da886af52f1b58661796f78859c7b41f62a2000a070
SHA512 (Sereal-Encoder-4.019.tar.gz) = 11881a6df4146101acf11418165dc5e5dec961a04f271df6654c9927b90b96d9233b4a3abe42a5483c9b268b43fa21975be68ccd9dfd8b03262427e1bf70670c