From d5472b93d9beb88eea4e510df5ebb14121853cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 25 Jun 2021 09:41:46 +0200 Subject: [PATCH] Build-require glibc-gconv-extra for ISO-8859-2 support in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit glibc-2.33.9000-13 subpackaged a gconv module for ISO-8859-2 character set. t/12html.t exhibits this character set and failed with: # Failed test ' TODO : Add test name' # at t/12html.t line 133. Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm line 125. # got: 'ì¹èø' # expected: 'ěščř' HTML parser error : Input is not proper UTF-8, indicate encoding !

���

--- perl-XML-LibXML.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index a521d84..ce4f4d0 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -8,7 +8,7 @@ Name: perl-XML-LibXML # it might not be needed anymore # this module is maintained, the other is not Version: 2.0207 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: Perl interface to the libxml2 library License: (GPL+ or Artistic) and MIT @@ -52,6 +52,8 @@ BuildRequires: perl(XML::SAX::DocumentLocator) BuildRequires: perl(XML::SAX::Exception) BuildRequires: perl(XSLoader) # Tests +# t/12html.t exhibits ISO-8859-2 charset +BuildRequires: glibc-gconv-extra BuildRequires: perl(Errno) BuildRequires: perl(File::Spec) BuildRequires: perl(lib) @@ -104,6 +106,8 @@ validating XML parser and the high performance DOM implementation. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +# t/12html.t exhibits ISO-8859-2 charset +Requires: glibc-gconv-extra Requires: perl-Test-Harness %if %{with thread_test} Requires: perl(threads) @@ -183,6 +187,9 @@ fi %{_libexecdir}/%{name} %changelog +* Fri Jun 25 2021 Petr Pisar - 1:2.0207-3 +- Build-require glibc-gconv-extra for ISO-8859-2 support in tests + * Fri May 21 2021 Jitka Plesnikova - 1:2.0207-2 - Perl 5.34 rebuild