14
0

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
This commit is contained in:
Tomáš Chvátal
2019-12-05 11:19:17 +00:00
committed by Git OBS Bridge
parent eb44e43118
commit a6ad4a7dd3
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 5 10:56:46 UTC 2019 - Andreas Hasenkopf <ahasenkopf@suse.com>
- Handle UnicodeDecodeErrors during build process
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 30 12:31:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Wed Oct 30 12:31:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -46,14 +46,17 @@ rm xmlschema/tests/check_memory.py
rm xmlschema/tests/test_memory.py rm xmlschema/tests/test_memory.py
%build %build
export LANG="en_US.UTF8"
%python_build %python_build
%install %install
export LANG="en_US.UTF8"
%python_install %python_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/xmlschema/tests %python_expand rm -r %{buildroot}%{$python_sitelib}/xmlschema/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
export LANG="en_US.UTF8"
%pytest %pytest
%files %{python_files} %files %{python_files}