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
This commit is contained in:
DistroBaker 2021-03-29 05:55:19 +00:00
parent 5b4c937a2d
commit 10c2326874

View File

@ -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 <jplesnik@redhat.com> - 0.8300-3
- Disable optional tests on ELN
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8300-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild