Build-require glibc-gconv-extra for ISO-8859-2 support in tests

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 !
	<p>���</p>
This commit is contained in:
Petr Písař 2021-06-25 09:41:46 +02:00
parent 8369e29f34
commit d5472b93d9

View File

@ -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 <ppisar@redhat.com> - 1:2.0207-3
- Build-require glibc-gconv-extra for ISO-8859-2 support in tests
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.0207-2
- Perl 5.34 rebuild