|
|
@ -1,6 +1,9 @@
|
|
|
|
|
|
|
|
# Run optional test
|
|
|
|
|
|
|
|
%bcond_without perl_Sereal_enables_optional_test
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Sereal
|
|
|
|
Name: perl-Sereal
|
|
|
|
Version: 3.015
|
|
|
|
Version: 4.004
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fast, compact, powerful binary (de-)serialization
|
|
|
|
Summary: Fast, compact, powerful binary (de-)serialization
|
|
|
|
# Makefile.PL defines LICENSE
|
|
|
|
# Makefile.PL defines LICENSE
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
@ -8,17 +11,15 @@ Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Sereal/
|
|
|
|
URL: http://search.cpan.org/dist/Sereal/
|
|
|
|
Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
# blib not used
|
|
|
|
# blib not used
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
# Devel::CheckLib not used
|
|
|
|
# Devel::CheckLib not used
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# File::Find not used
|
|
|
|
# File::Find not used
|
|
|
|
# File::Path not used
|
|
|
|
# File::Path not used
|
|
|
|
# File::Spec not used
|
|
|
|
# File::Spec not used
|
|
|
@ -26,8 +27,8 @@ BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Sereal::Decoder) >= 3.015
|
|
|
|
BuildRequires: perl(Sereal::Decoder) >= 4.004
|
|
|
|
BuildRequires: perl(Sereal::Encoder) >= 3.015
|
|
|
|
BuildRequires: perl(Sereal::Encoder) >= 4.004
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
# Benchmark not used
|
|
|
|
# Benchmark not used
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
@ -55,9 +56,11 @@ BuildRequires: perl(threads)
|
|
|
|
BuildRequires: perl(threads::shared)
|
|
|
|
BuildRequires: perl(threads::shared)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
|
|
|
|
%if %{with perl_Sereal_enables_optional_test}
|
|
|
|
# Optional tests:
|
|
|
|
# Optional tests:
|
|
|
|
BuildRequires: perl(Test::Deep) >= 0.110
|
|
|
|
BuildRequires: perl(Test::Deep) >= 0.110
|
|
|
|
BuildRequires: perl(Test::Deep::NoTest)
|
|
|
|
BuildRequires: perl(Test::Deep::NoTest)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -71,12 +74,11 @@ both and loads both.
|
|
|
|
%setup -q -n Sereal-%{version}
|
|
|
|
%setup -q -n Sereal-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
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 -exec rm -f {} \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -88,6 +90,9 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Nov 14 2017 Petr Pisar <ppisar@redhat.com> - 4.004-1
|
|
|
|
|
|
|
|
- 4.004 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.015-4
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.015-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|