From 53ba23608ee088d50327d8296ca14c638b589d04ef0483396f98679e98ac423a Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 20 Mar 2024 18:17:44 +0000 Subject: [PATCH] Accepting request 1133929 from home:bmwiedemann:branches:X11:wxWidgets Do not write non-deterministic .pyc files in tests OBS-URL: https://build.opensuse.org/request/show/1133929 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/waf?expand=0&rev=5 --- waf.changes | 5 +++++ waf.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/waf.changes b/waf.changes index efc0f19..986e910 100644 --- a/waf.changes +++ b/waf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 19 01:26:32 UTC 2023 - Bernhard Wiedemann + +- Do not write non-deterministic .pyc files in tests + ------------------------------------------------------------------- Thu Jan 5 07:52:51 UTC 2023 - Dirk Müller diff --git a/waf.spec b/waf.spec index 2d99a16..6a84226 100644 --- a/waf.spec +++ b/waf.spec @@ -57,6 +57,7 @@ install -m 755 -d %{buildroot}%{_datadir}/waf/ cp -pR ./zip/waflib %{buildroot}%{_datadir}/waf/ %check +export PYTHONDONTWRITEBYTECODE=1 export PYTHONPATH=%{buildroot}/%{_datadir}/waf/ %{buildroot}/%{_bindir}/waf -h