diff --git a/python-pycryptodomex.changes b/python-pycryptodomex.changes index 7734a61..8a77818 100644 --- a/python-pycryptodomex.changes +++ b/python-pycryptodomex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 11 12:23:49 UTC 2019 - Thomas Bechtold + +- Add export LC_ALL=en_US.UTF-8 to %build, %install and %check to + fix the build on older distros + ------------------------------------------------------------------- Tue Sep 10 12:15:52 UTC 2019 - Tomáš Chvátal diff --git a/python-pycryptodomex.spec b/python-pycryptodomex.spec index ee76d06..b967ddc 100644 --- a/python-pycryptodomex.spec +++ b/python-pycryptodomex.spec @@ -77,14 +77,17 @@ Python. Only the pieces that are extremely critical to performance touch .separate_namespace %build +export LC_ALL=en_US.UTF-8 export CFLAGS="%{optflags}" %python_build %install +export LC_ALL=en_US.UTF-8 %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check +export LC_ALL=en_US.UTF-8 %python_exec setup.py test %files %{python_files}