Accepting request 691923 from home:jayvdb:branches:devel:languages:python

- Add export LANG=en_US.UTF-8 to fix Leap builds

OBS-URL: https://build.opensuse.org/request/show/691923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmltodict?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal 2019-04-06 10:15:00 +00:00 committed by Git OBS Bridge
parent aefc899426
commit 92c77369de
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Apr 6 00:00:15 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add export LANG=en_US.UTF-8 to fix Leap builds
-------------------------------------------------------------------
Tue Mar 26 12:20:55 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -44,13 +44,16 @@ http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html
sed -i '1{\@^#!%{_bindir}/env python@d}' xmltodict.py
%build
export LANG=en_US.UTF-8
%python_build
%install
export LANG=en_US.UTF-8
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}