diff --git a/python-PyQt6-DataVisualization.changes b/python-PyQt6-DataVisualization.changes index 7db54eb..368e126 100644 --- a/python-PyQt6-DataVisualization.changes +++ b/python-PyQt6-DataVisualization.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 23 19:48:02 UTC 2021 - Ben Greiner + +- Don't write mtime-based init pyc file during import test + (boo#1047218) + ------------------------------------------------------------------- Tue Jun 15 13:13:48 UTC 2021 - Ben Greiner diff --git a/python-PyQt6-DataVisualization.spec b/python-PyQt6-DataVisualization.spec index f1764d8..118dcf4 100644 --- a/python-PyQt6-DataVisualization.spec +++ b/python-PyQt6-DataVisualization.spec @@ -1,5 +1,5 @@ # -# spec file for package python-PyQt6-DataVisualization +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -65,6 +65,7 @@ used to generate the Python bindings for %{name} %pyqt_install %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 Qt%{qtlib}; assert Qt%{qtlib}.PYQT_DATAVISUALIZATION_VERSION_STR == "%{version}"'