From 82ddf81001b59d62b809a8cec3a1d015011df487 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 11 Dec 2020 10:42:04 +0000 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-Devel-CheckLib.git#ebd4bdcc40f538eb144f9fc237cb71f023381f5a --- perl-Devel-CheckLib.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/perl-Devel-CheckLib.spec b/perl-Devel-CheckLib.spec index 9515593..a3dc02a 100644 --- a/perl-Devel-CheckLib.spec +++ b/perl-Devel-CheckLib.spec @@ -1,6 +1,13 @@ +# Run optional test +%if ! (0%{?rhel}) +%bcond_without perl_Devel_CheckLib_enables_optional_test +%else +%bcond_with perl_Devel_CheckLib_enables_optional_test +%endif + Name: perl-Devel-CheckLib Version: 1.14 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Check that a library is available License: GPL+ or Artistic @@ -26,7 +33,9 @@ BuildRequires: perl(Capture::Tiny) BuildRequires: perl(lib) BuildRequires: perl(Test::More) >= 0.88 # Optional tests +%if %{with perl_Devel_CheckLib_enables_optional_test} BuildRequires: perl(Mock::Config) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -57,6 +66,9 @@ make test %changelog +* Thu Dec 10 2020 Jitka Plesnikova - 1.14-5 +- Disable optional test on RHEL + * Tue Jul 28 2020 Fedora Release Engineering - 1.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild