4.004 bump
This commit is contained in:
parent
16005c566f
commit
b82daf4cf9
|
@ -8,3 +8,4 @@
|
|||
/Sereal-Encoder-3.009.tar.gz
|
||||
/Sereal-Encoder-3.014.tar.gz
|
||||
/Sereal-Encoder-3.015.tar.gz
|
||||
/Sereal-Encoder-4.004.tar.gz
|
||||
|
|
|
@ -1,31 +1,39 @@
|
|||
# Run optional tests
|
||||
%bcond_with perl_Sereal_Encoder_enables_optional_test
|
||||
|
||||
Name: perl-Sereal-Encoder
|
||||
Version: 3.015
|
||||
Release: 5%{?dist}
|
||||
Version: 4.004
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl serialization into Serial format
|
||||
# lib/Sereal/Encoder.pm: GPL+ or Artistic
|
||||
# qsort.h: LGPLv2+ (borrowed from glibc)
|
||||
# miniz.c: Unlicense (unbundled)
|
||||
# snappy: BSD (unbundled)
|
||||
# zstd: BSD (unbundled)
|
||||
# See <https://github.com/Sereal/Sereal/issues/72>
|
||||
License: (GPL+ or Artistic) and LGPLv2+
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Sereal-Encoder/
|
||||
Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-%{version}.tar.gz
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: csnappy-devel
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: miniz-devel
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Devel::CheckLib)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Spec)
|
||||
# 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)
|
||||
|
@ -37,12 +45,14 @@ BuildRequires: perl(Cwd)
|
|||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Devel::Peek)
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(integer)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Sereal::Decoder) >= 3.00
|
||||
BuildRequires: perl(Sereal::Decoder) >= 4.002
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(Test::LongString)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
|
@ -55,9 +65,11 @@ BuildRequires: perl(Tie::Scalar)
|
|||
# Time::HiRes not used
|
||||
BuildRequires: perl(utf8)
|
||||
BuildRequires: perl(version)
|
||||
%if %{with perl_Sereal_Encoder_enables_optional_test}
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::Deep) >= 0.110
|
||||
BuildRequires: perl(Test::Deep::NoTest)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
|
@ -68,21 +80,25 @@ serializer using a binary protocol called Sereal.
|
|||
%setup -q -n Sereal-Encoder-%{version}
|
||||
# Remove bundled Perl modules
|
||||
rm -r ./inc/Devel
|
||||
sed -i -s '/^inc\/Devel/d' MANIFEST
|
||||
sed -i -e '/^inc\/Devel\//d' MANIFEST
|
||||
# Remove bundled csnappy
|
||||
rm -r ./snappy
|
||||
sed -i -s '/^snappy/d' MANIFEST
|
||||
sed -i -e '/^snappy\//d' MANIFEST
|
||||
# Remove bundled miniz
|
||||
rm miniz.*
|
||||
sed -i -s '/^miniz\./d' MANIFEST
|
||||
sed -i -e '/^miniz\./d' MANIFEST
|
||||
# Remove bundled zstd
|
||||
rm -r zstd
|
||||
sed -i -e '/^zstd\//d' MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
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 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
|
@ -96,6 +112,9 @@ make test
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 14 2017 Petr Pisar <ppisar@redhat.com> - 4.004-1
|
||||
- 4.004 bump
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.015-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue