forked from pool/python-pycryptodomex
- 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:
committed by
Git OBS Bridge
parent
ae3f344e87
commit
7236bbea58
@@ -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>
|
Tue Sep 10 12:15:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -77,14 +77,17 @@ Python. Only the pieces that are extremely critical to performance
|
|||||||
touch .separate_namespace
|
touch .separate_namespace
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user