Run the tests with LANG=en_US to ensure we use the right dictionary
This commit is contained in:
		
							parent
							
								
									1ab9c94673
								
							
						
					
					
						commit
						5064b1f7fe
					
				| @ -1,7 +1,7 @@ | |||||||
| Summary:        Internationalization library for Perl, compatible with gettext | Summary:        Internationalization library for Perl, compatible with gettext | ||||||
| Name:           perl-libintl-perl | Name:           perl-libintl-perl | ||||||
| Version:        1.29 | Version:        1.29 | ||||||
| Release:        2%{?dist} | Release:        3%{?dist} | ||||||
| # gettext_xs/gettext_xs.pm:     GPLv3+ | # gettext_xs/gettext_xs.pm:     GPLv3+ | ||||||
| # gettext_xs/Makefile.PL:       LGPLv2+ | # gettext_xs/Makefile.PL:       LGPLv2+ | ||||||
| # lib/Locale/gettext_xs.pod:    LGPLv2+ | # lib/Locale/gettext_xs.pod:    LGPLv2+ | ||||||
| @ -49,6 +49,8 @@ BuildRequires:  perl(I18N::Langinfo) | |||||||
| # Tests: | # Tests: | ||||||
| # Needed for tests/03bind_textdomain_codeset_pp.t | # Needed for tests/03bind_textdomain_codeset_pp.t | ||||||
| BuildRequires:  glibc-langpack-de | BuildRequires:  glibc-langpack-de | ||||||
|  | # Needed for tests/04find_domain_bug.t | ||||||
|  | BuildRequires:  glibc-langpack-en | ||||||
| BuildRequires:  perl(File::Basename) | BuildRequires:  perl(File::Basename) | ||||||
| BuildRequires:  perl(Test) | BuildRequires:  perl(Test) | ||||||
| BuildRequires:  perl(Test::Harness) | BuildRequires:  perl(Test::Harness) | ||||||
| @ -93,7 +95,8 @@ find %{buildroot} -type f \( -name .packlist -o \ | |||||||
| %{_fixperms} %{buildroot} | %{_fixperms} %{buildroot} | ||||||
| 
 | 
 | ||||||
| %check | %check | ||||||
| make test | # 04find_domain_bug.t fails with Perl 5.28, if LANG is non-en_US | ||||||
|  | LANG=en_US make test | ||||||
| 
 | 
 | ||||||
| %files | %files | ||||||
| %license COPYING | %license COPYING | ||||||
| @ -104,6 +107,9 @@ make test | |||||||
| %{_mandir}/man?/* | %{_mandir}/man?/* | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Tue Jun 05 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-3 | ||||||
|  | - Run the tests with LANG=en_US to ensure we use the right dictionary | ||||||
|  | 
 | ||||||
| * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2 | ||||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user