epel9
Petr Písař 7 years ago
parent e5e0f4276e
commit 9f0f77e265

1
.gitignore vendored

@ -8,3 +8,4 @@
/Sereal-Decoder-3.009.tar.gz /Sereal-Decoder-3.009.tar.gz
/Sereal-Decoder-3.014.tar.gz /Sereal-Decoder-3.014.tar.gz
/Sereal-Decoder-3.015.tar.gz /Sereal-Decoder-3.015.tar.gz
/Sereal-Decoder-4.004.tar.gz

@ -1,30 +1,31 @@
Name: perl-Sereal-Decoder Name: perl-Sereal-Decoder
Version: 3.015 Version: 4.004
Release: 6%{?dist} Release: 1%{?dist}
Summary: Perl deserialization for Sereal format Summary: Perl deserialization for Sereal format
# lib/Sereal/Decoder.pm: GPL+ or Artistic # lib/Sereal/Decoder.pm: GPL+ or Artistic
# miniz.c: Unlicense (unbundled) # miniz.c: Unlicense (unbundled)
# snappy: BSD (unbundled) # snappy: BSD (unbundled)
# zstd: BSD (unbundled)
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sereal-Decoder/ URL: http://search.cpan.org/dist/Sereal-Decoder/
Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-Decoder-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-Decoder-%{version}.tar.gz
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: csnappy-devel BuildRequires: csnappy-devel
BuildRequires: findutils BuildRequires: findutils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: libzstd-devel
BuildRequires: make BuildRequires: make
BuildRequires: miniz-devel BuildRequires: miniz-devel
BuildRequires: perl-interpreter
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(Devel::CheckLib) BuildRequires: perl(Devel::CheckLib)
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 7.0
BuildRequires: perl(File::Find) # File::Find not used
BuildRequires: perl(File::Path) # File::Path not used in inc/Sereal/BuildTools.pm
BuildRequires: perl(File::Spec) # File::Spec not used in inc/Sereal/BuildTools.pm
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
BuildRequires: sed BuildRequires: sed
@ -39,6 +40,8 @@ BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper) BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Devel::Peek) BuildRequires: perl(Devel::Peek)
BuildRequires: perl(Encode) BuildRequires: perl(Encode)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(integer) BuildRequires: perl(integer)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(overload) BuildRequires: perl(overload)
@ -69,21 +72,25 @@ and feature-rich binary protocol called Sereal.
%setup -q -n Sereal-Decoder-%{version} %setup -q -n Sereal-Decoder-%{version}
# Remove bundled Perl modules # Remove bundled Perl modules
rm -r ./inc/Devel rm -r ./inc/Devel
sed -i -s '/^inc\/Devel/d' MANIFEST sed -i -e '/^inc\/Devel\//d' MANIFEST
# Remove bundled csnappy # Remove bundled csnappy
rm -r ./snappy rm -r ./snappy
sed -i -s '/^snappy/d' MANIFEST sed -i -e '/^snappy\//d' MANIFEST
# Remove bundled miniz # Remove bundled miniz
rm 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 %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} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT 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 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
@ -97,6 +104,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Mon Nov 13 2017 Petr Pisar <ppisar@redhat.com> - 4.004-1
- 4.004 bump
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.015-6 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.015-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

@ -1 +1 @@
de91784e359e25aee07f87a8b9b2f90b Sereal-Decoder-3.015.tar.gz SHA512 (Sereal-Decoder-4.004.tar.gz) = 46ac57e0b0caf35a42b96f250100fe5fad31f3d5b5486d7662bc0331ec8451cdd1e25a3fcb4a50b0d329b1aeb4ec55b929481c98f420ae4880cee0f92cf0a8e5

Loading…
Cancel
Save