Wolfgang Bauer 2018-07-28 15:11:50 +00:00 committed by Git OBS Bridge
parent afdfe568e8
commit 92569d3d59

View File

@ -184,6 +184,16 @@ service.
%setup -q -n %{rname}-%{version} %setup -q -n %{rname}-%{version}
%build %build
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} < 120300
export CC=gcc-6
export CXX=g++-6
%else
export CC=gcc-7
export CXX=g++-7
%endif
%endif
%cmake_kf5 -d build -- -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DQT_PLUGINS_DIR=%{_kf5_plugindir} %cmake_kf5 -d build -- -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DQT_PLUGINS_DIR=%{_kf5_plugindir}
%make_jobs %make_jobs