14
0

Accepting request 595133 from home:Simmphonie:python

- disable qtquicktests (debug files)

OBS-URL: https://build.opensuse.org/request/show/595133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotherside?expand=0&rev=5
This commit is contained in:
Torsten Gruner
2018-04-10 08:24:16 +00:00
committed by Git OBS Bridge
parent 72de0fe50f
commit 31b1e23c14
2 changed files with 7 additions and 5 deletions

View File

@@ -48,6 +48,8 @@ A QML Plugin that provides access to a Python 3 interpreter from QML.
%prep
%setup -q -n %{srcname}-%{version}
# disable qtquicktests
sed -i 's| qtquicktests||' pyotherside.pro
%build
qmake-qt5 PYTHON_CONFIG=python%{py_ver}-config CONFIG+="nosilent c++11" QMAKE_CXXFLAGS="%{optflags} -fvisibility=hidden -fvisibility-inlines-hidden"
@@ -66,10 +68,5 @@ xvfb-run -s '-screen 0 640x480x8 -extension RANDR' -a ./tests/tests
%dir %{_libqt5_archdatadir}/qml/io/
%dir %{_libqt5_archdatadir}/qml/io/thp/
%{_libqt5_archdatadir}/qml/io/thp/pyotherside
%exclude %{_prefix}/tests/qtquicktests/qtquicktests
%if ( 0%{?sle_version} == 150000 || 0%{?sle_version} == 120300 ) && 0%{?is_opensuse}
%exclude %{_prefix}/lib/debug/usr/tests/qtquicktests/*
%exclude %{_prefix}/lib/debug/.build-id/*/*
%endif
%changelog