Always build-require HTTP::Headers

t/headparser-http.t stopped skipping if HTTP::Headers is not
available. Moreover the build-cycle between perl-HTML-Parser and
perl-HTTP-Message has gone.
This commit is contained in:
Petr Písař 2020-09-10 07:25:57 +02:00
parent 3fa3c38809
commit db62db5e7e

View File

@ -1,7 +1,7 @@
Name: perl-HTML-Parser
Summary: Perl module for parsing HTML
Version: 3.75
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/HTML-Parser-%{version}.tar.gz
URL: https://metacpan.org/release/HTML-Parser
@ -20,10 +20,7 @@ BuildRequires: perl(warnings)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(HTML::Tagset) >= 3
%if %{undefined perl_bootstrap}
# This creates cycle with perl-HTTP-Message.
BuildRequires: perl(HTTP::Headers)
%endif
BuildRequires: perl(IO::File)
BuildRequires: perl(URI)
BuildRequires: perl(vars)
@ -78,6 +75,9 @@ make test
%{_mandir}/man3/*.3pm*
%changelog
* Thu Sep 10 2020 Petr Pisar <ppisar@redhat.com> - 3.75-2
- Always build-require HTTP::Headers
* Mon Aug 31 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.75-1
- 3.75 bump