Accepting request 1245435 from home:bmwiedemann:branches:devel:languages:python:numeric

Avoid writing non-deterministic .pyc files during build for reproducible builds

OBS-URL: https://build.opensuse.org/request/show/1245435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=180
This commit is contained in:
2025-02-13 13:56:07 +00:00
committed by Git OBS Bridge
parent 997dd0cfd4
commit aba8df3def
2 changed files with 7 additions and 0 deletions

View File

@@ -204,6 +204,7 @@ chmod -x \
rm -f PKG-INFO
%build
export PYTHONDONTWRITEBYTECODE=1
%define _lto_cflags %{nil}
%if %{with hpc}
%hpc_setup