From 92c77369de31e1d55661c45871a148a9edaf8d6f87dce9c1a910055275873df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 6 Apr 2019 10:15:00 +0000 Subject: [PATCH] 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 --- python-xmltodict.changes | 5 +++++ python-xmltodict.spec | 3 +++ 2 files changed, 8 insertions(+) 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}