File project.diff of Package qbs
--- qbs.spec.orig
+++ qbs.spec
@@ -38,14 +38,12 @@ BuildRequires: libQt5Widgets-devel >= %
BuildRequires: libQt5Xml-devel >= %{qt5_version}
# Qt Creator used to package qbs too
Conflicts: libqt5-creator <= 4.5.0
-%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} <= 120200
-BuildRequires: gcc6-c++
+BuildRequires: gcc-c++
%else
BuildRequires: gcc7-c++
%endif
-%endif
%description
Qbs is a tool that helps simplify the build process for developing projects
@@ -72,14 +70,12 @@ This package is required to develop appl
%build
makeopts=""
-%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} <= 120200
-makeopts="$makeopts CC=gcc-6 CXX=g++-6"
+makeopts="$makeopts CC=gcc CXX=g++"
%else
makeopts="$makeopts CC=gcc-7 CXX=g++-7"
%endif
-%endif
# QBS_LIBEXEC_DESTDIR, QBS_RELATIVE_LIBEXEC_PATH need to be
# set because the defaults are hardcoded to 'libexec'