diff --git a/python-textX.changes b/python-textX.changes index c8079f9..00d43c7 100644 --- a/python-textX.changes +++ b/python-textX.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 9 11:53:21 UTC 2019 - Sebastian Wagner + +- Fix Tests for Leap 15.1: click requires UTF-8 locale. + ------------------------------------------------------------------- Sat Jun 8 14:09:51 UTC 2019 - Sebastian Wagner diff --git a/python-textX.spec b/python-textX.spec index fede626..5e119b1 100644 --- a/python-textX.spec +++ b/python-textX.spec @@ -101,7 +101,9 @@ popd %check export PYTHONDONTWRITEBYTECODE=1 -PATH=$PATH:%{buildroot}%{_bindir} %pytest +export LC_ALL=C.UTF-8 +export PATH=$PATH:%{buildroot}%{_bindir} +%pytest %python_expand rm -r %{buildroot}%{$python_sitelib}/data_dsl* %python_expand rm -r %{buildroot}%{$python_sitelib}/flow_codegen* %python_expand rm -r %{buildroot}%{$python_sitelib}/flow_dsl*