14
0

- Add export LC_ALL=en_US.UTF-8 to %build, %install and %check to

fix the build on older distros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodomex?expand=0&rev=10
This commit is contained in:
Thomas Bechtold
2019-09-11 12:24:24 +00:00
committed by Git OBS Bridge
parent ae3f344e87
commit 7236bbea58
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 11 12:23:49 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
- 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 <tchvatal@suse.com>

View File

@@ -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}