From a9fdf3512acdaf928ce7aa37da5aa3069939c0a82abfcac63543863fc377b43a Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 19 Aug 2021 09:32:45 +0000 Subject: [PATCH] - Don't write mtime-based init pyc file during import test (boo#1047218) OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=2 --- python-pyqt-builder.changes | 6 ++++++ python-pyqt-builder.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/python-pyqt-builder.changes b/python-pyqt-builder.changes index 9195eec..5c440d0 100644 --- a/python-pyqt-builder.changes +++ b/python-pyqt-builder.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 19 09:32:37 UTC 2021 - Ben Greiner + +- Don't write mtime-based init pyc file during import test + (boo#1047218) + ------------------------------------------------------------------- Sun Jul 4 13:42:44 UTC 2021 - Ben Greiner diff --git a/python-pyqt-builder.spec b/python-pyqt-builder.spec index 39c4fc2..0920e48 100644 --- a/python-pyqt-builder.spec +++ b/python-pyqt-builder.spec @@ -62,6 +62,7 @@ sip-install or pip can then be used to build and install the project. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export PYTHONDONTWRITEBYTECODE=1 # boo#1047218 %{python_expand # no real unit tests; check import and bundle entry point export PYTHONPATH=%{buildroot}%{$python_sitelib} $python -c 'import pyqtbuild'