diff --git a/python-PyQt6.changes b/python-PyQt6.changes index d086740..20582b4 100644 --- a/python-PyQt6.changes +++ b/python-PyQt6.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 19 07:33:23 UTC 2021 - Bernhard Wiedemann + +- Stop writing mtime-based pyc files during tests (boo#1047218) + ------------------------------------------------------------------- Wed Jul 14 22:42:04 UTC 2021 - Ben Greiner diff --git a/python-PyQt6.spec b/python-PyQt6.spec index 6a9e645..90244fa 100644 --- a/python-PyQt6.spec +++ b/python-PyQt6.spec @@ -121,6 +121,7 @@ dos2unix examples/quick/models/*/view.qml %python_expand %fdupes %{buildroot}%{$python_sitearch} %check +export PYTHONDONTWRITEBYTECODE=1 # boo#1047218 %{python_expand # there is no test suite. If it compiles and imports, it should be okay. export PYTHONPATH=%{buildroot}%{$python_sitearch} $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{version}"'