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-HTML-Tree.git#60944cf3620ca5a6e474504101cd6a8048486247
This commit is contained in:
DistroBaker 2021-02-04 17:28:48 +01:00
parent ab92bf1a49
commit 41af8cabd8

View File

@ -1,7 +1,14 @@
# Perform optional tests
%if 0%{?rhel} >= 7
%bcond_with perl_HTML_Tree_enable_optional_test
%else
%bcond_without perl_HTML_Tree_enable_optional_test
%endif
Name: perl-HTML-Tree
Epoch: 1
Version: 5.07
Release: 13%{?dist}
Release: 14%{?dist}
Summary: HTML tree handling modules for Perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-Tree
@ -31,7 +38,7 @@ BuildRequires: perl(warnings)
%if !%{defined perl_bootstrap}
# HTML::FormatText (perl-HTML-Format) has BR: perl(HTML::TreeBuilder) from this package
BuildRequires: perl(HTML::FormatText)
%if ! (0%{?rhel} >= 7)
%if %{with perl_HTML_Tree_enable_optional_test}
# perl-Test-LeakTrace -> perl-Test-Valgrind -> perl-XML-Twig -> perl-HTML-Tree
BuildRequires: perl(Test::LeakTrace)
%endif
@ -69,6 +76,9 @@ perl Build.PL installdirs=vendor
%{_mandir}/man3/HTML::*3*
%changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.07-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.07-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild