From ecd4794a838f1c82766595d5d61b2659adc7b5b7 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 27 Oct 2020 21:48:08 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/perl-Test-Simple.git#2fe4e7506e3c9ec96b79cb57f1be26da380a1cda --- perl-Test-Simple.spec | 20 ++++++++++++++++---- sources | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec index b9ea431..5da4285 100644 --- a/perl-Test-Simple.spec +++ b/perl-Test-Simple.spec @@ -1,4 +1,9 @@ %if ! (0%{?rhel}) +%bcond_without perl_Test_Simple_enables_Module_Pluggable +%else +%bcond_with perl_Test_Simple_enables_Module_Pluggable +%endif +%if ! (0%{?rhel}) %bcond_without perl_Test_Simple_enables_optional_test %else %bcond_with perl_Test_Simple_enables_optional_test @@ -7,7 +12,7 @@ Name: perl-Test-Simple Summary: Basic utilities for writing tests Epoch: 3 -Version: 1.302182 +Version: 1.302183 Release: 1%{?dist} # CC0: lib/ok.pm # Public Domain: lib/Test/Tutorial.pod @@ -33,7 +38,7 @@ BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Handle) BuildRequires: perl(JSON::PP) BuildRequires: perl(List::Util) -%if !%{defined perl_bootstrap} +%if %{with perl_Test_Simple_enables_Module_Pluggable} && !%{defined perl_bootstrap} BuildRequires: perl(Module::Pluggable) %endif # mro used since Perl 5.010 @@ -75,8 +80,8 @@ BuildRequires: perl(Test::Script) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Dumper) Requires: perl(JSON::PP) -%if !%{defined perl_bootstrap} -Requires: perl(Module::Pluggable) +%if %{with perl_Test_Simple_enables_Module_Pluggable} && !%{defined perl_bootstrap} +Suggests: perl(Module::Pluggable) %endif # mro used since Perl 5.010 Requires: perl(mro) @@ -195,6 +200,13 @@ make test %{!?perl_bootstrap:AUTHOR_TESTING=1} %{_mandir}/man3/Test2::Util::Trace.3* %changelog +* Thu Oct 22 2020 Paul Howarth - 3:1.302183-1 +- Update to 1.302183 + - Avoid closing over scalar in BEGIN block in cmp_ok eval + +* Thu Oct 15 2020 Petr Pisar - 3:1.302182-2 +- Demote Module::Pluggable hard dependency to Suggests level + * Tue Oct 6 2020 Paul Howarth - 3:1.302182-1 - Update to 1.302182 - Fix 5.6 support diff --git a/sources b/sources index 62d1ee7..d3a48c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Test-Simple-1.302182.tar.gz) = 38f7372c5c236032f59f7589d07da55fc99a1cbb5b6347f1eeb854932106ff8ac42c2c0a04bce5a4b7cf771968fd26fb6648d92546ed97a195667b356639498d +SHA512 (Test-Simple-1.302183.tar.gz) = 762be99cfc9497ea7ad6c95405764ebb4afad12a4d2fdee64c16768a4b5806a0ec05c54c6482228efb066988a7105d535aaffa4d961d3670f3c6c2bf438f5421