From 5064b1f7fe7cd606c1123192098d3d16304f2de9 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 11 Jun 2018 13:06:48 +0200 Subject: [PATCH] Run the tests with LANG=en_US to ensure we use the right dictionary --- perl-libintl-perl.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/perl-libintl-perl.spec b/perl-libintl-perl.spec index 6d5a8d3..2cb591c 100644 --- a/perl-libintl-perl.spec +++ b/perl-libintl-perl.spec @@ -1,7 +1,7 @@ Summary: Internationalization library for Perl, compatible with gettext Name: perl-libintl-perl Version: 1.29 -Release: 2%{?dist} +Release: 3%{?dist} # gettext_xs/gettext_xs.pm: GPLv3+ # gettext_xs/Makefile.PL: LGPLv2+ # lib/Locale/gettext_xs.pod: LGPLv2+ @@ -49,6 +49,8 @@ BuildRequires: perl(I18N::Langinfo) # Tests: # Needed for tests/03bind_textdomain_codeset_pp.t BuildRequires: glibc-langpack-de +# Needed for tests/04find_domain_bug.t +BuildRequires: glibc-langpack-en BuildRequires: perl(File::Basename) BuildRequires: perl(Test) BuildRequires: perl(Test::Harness) @@ -93,7 +95,8 @@ find %{buildroot} -type f \( -name .packlist -o \ %{_fixperms} %{buildroot} %check -make test +# 04find_domain_bug.t fails with Perl 5.28, if LANG is non-en_US +LANG=en_US make test %files %license COPYING @@ -104,6 +107,9 @@ make test %{_mandir}/man?/* %changelog +* Tue Jun 05 2018 Jitka Plesnikova - 1.29-3 +- Run the tests with LANG=en_US to ensure we use the right dictionary + * Fri Feb 09 2018 Fedora Release Engineering - 1.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild