From 10c2326874daef8b1c5f41de6d0dcadcc3dda8c2 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 29 Mar 2021 05:55:19 +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-DateTime-Format-Builder.git#10c360ec4fca825cdbaa16c57c53eddc150bd7c6 --- perl-DateTime-Format-Builder.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/perl-DateTime-Format-Builder.spec b/perl-DateTime-Format-Builder.spec index 63a49e6..3a79dcc 100644 --- a/perl-DateTime-Format-Builder.spec +++ b/perl-DateTime-Format-Builder.spec @@ -1,9 +1,15 @@ +%if 0%{?rhel} >= 9 +%bcond_with perl_DateTime_Format_Builder_enable_optional_tests +%else +%bcond_without perl_DateTime_Format_Builder_enable_optional_tests +%endif + %global real_version 0.83 Name: perl-DateTime-Format-Builder # 0.83 in reality, but rpm can't get it Version: 0.8300 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Create DateTime parser classes and objects # examples/W3CDTF.pm: GPL+ or Artistic # examples/MySQL.pm: GPL+ or Artistic @@ -35,6 +41,7 @@ BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(Test::More) >= 0.88 # Optional Tests +%if %{with perl_DateTime_Format_Builder_enable_optional_tests} BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(DateTime::Format::HTTP) BuildRequires: perl(DateTime::Format::Mail) @@ -42,6 +49,7 @@ BuildRequires: perl(DateTime::Format::IBeat) BuildRequires: perl(Devel::Cycle) >= 1.07 BuildRequires: perl(Test::Memory::Cycle) BuildRequires: perl(Test::Pod) >= 1.00 +%endif # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Provides: perl(DateTime::Format::Builder) = %{version} @@ -99,6 +107,9 @@ make test %{_mandir}/man3/DateTime::Format::Builder::Tutorial.3* %changelog +* Thu Mar 25 2021 Jitka Plesnikova - 0.8300-3 +- Disable optional tests on ELN + * Wed Jan 27 2021 Fedora Release Engineering - 0.8300-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild