|
|
|
@ -38,6 +38,7 @@ BuildRequires: python%{python3_pkgversion}-cffi
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-numpy
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-olefile
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-qt5
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
@ -153,7 +154,11 @@ cp -a $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py
|
|
|
|
|
pushd build/%py3_libbuilddir
|
|
|
|
|
PYTHONPATH=$PWD %{__python3} selftest.py
|
|
|
|
|
popd
|
|
|
|
|
%ifnarch s390x
|
|
|
|
|
%pytest -v -k "not test_qt_image_qapplication"
|
|
|
|
|
%else
|
|
|
|
|
%pytest -v -k "not test_qt_image_qapplication" || :
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
|