Richard Brown 2021-08-20 14:57:39 +00:00 committed by Git OBS Bridge
commit cc305d8dca
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 19 07:33:23 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
- Stop writing mtime-based pyc files during tests (boo#1047218)
-------------------------------------------------------------------
Wed Jul 14 22:42:04 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -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}"'