diff --git a/.gitignore b/.gitignore index b92af06..0fb4fcd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /Sereal-3.009.tar.gz /Sereal-3.014.tar.gz /Sereal-3.015.tar.gz +/Sereal-4.004.tar.gz diff --git a/perl-Sereal.spec b/perl-Sereal.spec index 88101e0..379f93d 100644 --- a/perl-Sereal.spec +++ b/perl-Sereal.spec @@ -1,6 +1,9 @@ +# Run optional test +%bcond_without perl_Sereal_enables_optional_test + Name: perl-Sereal -Version: 3.015 -Release: 4%{?dist} +Version: 4.004 +Release: 1%{?dist} Summary: Fast, compact, powerful binary (de-)serialization # Makefile.PL defines LICENSE License: GPL+ or Artistic @@ -8,17 +11,15 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/Sereal/ Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-%{version}.tar.gz BuildArch: noarch -BuildRequires: coreutils -BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter # blib not used BuildRequires: perl(Config) BuildRequires: perl(constant) BuildRequires: perl(Cwd) # Devel::CheckLib not used -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # File::Find not used # File::Path not used # File::Spec not used @@ -26,8 +27,8 @@ BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Exporter) -BuildRequires: perl(Sereal::Decoder) >= 3.015 -BuildRequires: perl(Sereal::Encoder) >= 3.015 +BuildRequires: perl(Sereal::Decoder) >= 4.004 +BuildRequires: perl(Sereal::Encoder) >= 4.004 # Tests: # Benchmark not used BuildRequires: perl(Carp) @@ -55,9 +56,11 @@ BuildRequires: perl(threads) BuildRequires: perl(threads::shared) BuildRequires: perl(utf8) BuildRequires: perl(version) +%if %{with perl_Sereal_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 @@ -71,12 +74,11 @@ both and loads both. %setup -q -n Sereal-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -88,6 +90,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Nov 14 2017 Petr Pisar - 4.004-1 +- 4.004 bump + * Thu Jul 27 2017 Fedora Release Engineering - 3.015-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index f451807..4d45e45 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -732fc663a7ffb9087bf8dbebe29f21bd Sereal-3.015.tar.gz +SHA512 (Sereal-4.004.tar.gz) = c4fed38af587a852c294bdbe4bc17fc2b5cc55592d0d63deb5c155c974e45befad141d6e655fdb72bf88a50a26cdeb500e0e717b1cf6d936778de49825664f1e