From 437546ce55af8a08ce125a56e0d9072cfd63286b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 3 Feb 2020 14:02:13 +0100 Subject: [PATCH] Build-require Hash::Util needed for tests --- perl-Sereal-Encoder.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-Sereal-Encoder.spec b/perl-Sereal-Encoder.spec index 18dc353..8c3a1f7 100644 --- a/perl-Sereal-Encoder.spec +++ b/perl-Sereal-Encoder.spec @@ -7,7 +7,7 @@ Name: perl-Sereal-Encoder Version: 4.009 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl serialization into Sereal format # lib/Sereal/Encoder.pm: GPL+ or Artistic # qsort.h: LGPLv2+ (borrowed from glibc) @@ -50,6 +50,9 @@ BuildRequires: perl(Devel::Peek) BuildRequires: perl(Encode) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) +# Hash::Util is needed on perl >= 5.25. It's in an eval to proceed to +# num_buckets() definition with older perls. +BuildRequires: perl(Hash::Util) BuildRequires: perl(integer) BuildRequires: perl(lib) BuildRequires: perl(List::Util) @@ -115,6 +118,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Feb 03 2020 Petr Pisar - 4.009-2 +- Build-require Hash::Util needed for tests + * Mon Feb 03 2020 Petr Pisar - 4.009-1 - 4.009 bump