[packages/python-kitchen] tests require utf8 locale

glen glen at pld-linux.org
Sun Nov 23 00:54:53 CET 2014


commit 9a1a2b7bf395ce9f5f5c0eb42fbe3331d7eca3a1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 23 01:54:48 2014 +0200

    tests require utf8 locale

 python-kitchen.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/python-kitchen.spec b/python-kitchen.spec
index d9d1821..59412b6 100644
--- a/python-kitchen.spec
+++ b/python-kitchen.spec
@@ -20,6 +20,9 @@ BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	python-chardet
 BuildRequires:	python-coverage
 BuildRequires:	python-nose
+%if %(locale -a | grep -q '^en_US$'; echo $?)
+BuildRequires:	glibc-localedb-all
+%endif
 %endif
 Suggests:	python-chardet
 BuildArch:	noarch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-kitchen.git/commitdiff/9a1a2b7bf395ce9f5f5c0eb42fbe3331d7eca3a1



More information about the pld-cvs-commit mailing list