From a6ad4a7dd3a4776a8e11b8cef7191159d3c94c777be70b47446dab2a32e19b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 5 Dec 2019 11:19:17 +0000 Subject: [PATCH] Accepting request 754340 from home:apritschet:branches:devel:languages:python Handle UnicodeDecodeErrors during build process OBS-URL: https://build.opensuse.org/request/show/754340 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=5 --- python-xmlschema.changes | 5 +++++ python-xmlschema.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-xmlschema.changes b/python-xmlschema.changes index 3275013..880602d 100644 --- a/python-xmlschema.changes +++ b/python-xmlschema.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 5 10:56:46 UTC 2019 - Andreas Hasenkopf + +- Handle UnicodeDecodeErrors during build process + ------------------------------------------------------------------- Wed Oct 30 12:31:19 UTC 2019 - Tomáš Chvátal diff --git a/python-xmlschema.spec b/python-xmlschema.spec index 69ab4ba..b81f61a 100644 --- a/python-xmlschema.spec +++ b/python-xmlschema.spec @@ -46,14 +46,17 @@ rm xmlschema/tests/check_memory.py rm xmlschema/tests/test_memory.py %build +export LANG="en_US.UTF8" %python_build %install +export LANG="en_US.UTF8" %python_install %python_expand rm -r %{buildroot}%{$python_sitelib}/xmlschema/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export LANG="en_US.UTF8" %pytest %files %{python_files}