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}