Disable optional tests on ELN
This commit is contained in:
parent
a18e660b78
commit
10c360ec4f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user