diff --git a/kf5-kirigami2.spec b/kf5-kirigami2.spec index a30e31a..c439dea 100644 --- a/kf5-kirigami2.spec +++ b/kf5-kirigami2.spec @@ -45,6 +45,12 @@ BuildRequires: appstream BuildRequires: xorg-x11-server-Xvfb %endif +# workaround https://bugs.kde.org/show_bug.cgi?id=395156 +%if 0%{?rhel}==7 +BuildRequires: devtoolset-7-toolchain +BuildRequires: devtoolset-7-gcc-c++ +%endif + Requires: qt5-qtquickcontrols%{?_isa} Requires: qt5-qtquickcontrols2%{?_isa} @@ -65,6 +71,9 @@ developing applications that use %{name}. %build +%if 0%{?rhel}==7 +. /opt/rh/devtoolset-7/enable +%endif mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \