diff --git a/python-xmltodict.changes b/python-xmltodict.changes index 2d20979..857e784 100644 --- a/python-xmltodict.changes +++ b/python-xmltodict.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 6 00:00:15 UTC 2019 - John Vandenberg + +- Add export LANG=en_US.UTF-8 to fix Leap builds + ------------------------------------------------------------------- Tue Mar 26 12:20:55 UTC 2019 - Jan Engelhardt diff --git a/python-xmltodict.spec b/python-xmltodict.spec index 94788d5..234e731 100644 --- a/python-xmltodict.spec +++ b/python-xmltodict.spec @@ -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}