- 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
This commit is contained in:
Benjamin Greiner 2021-08-19 09:32:45 +00:00 committed by Git OBS Bridge
parent 3f7e2587e7
commit a9fdf3512a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 19 09:32:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Don't write mtime-based init pyc file during import test
(boo#1047218)
-------------------------------------------------------------------
Sun Jul 4 13:42:44 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

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