Switch to GCC 13 for Leap builds for packages that can't be built with the default compiler

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kio?expand=0&rev=408
This commit is contained in:
Christophe Marin 2024-01-31 19:58:30 +00:00 committed by Git OBS Bridge
parent e4b6f095c7
commit 9ac31a46f3
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 31 14:35:12 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Switch to the latest GCC version available in Leap for packages
that can't build with the default compiler
-------------------------------------------------------------------
Sat Jan 13 11:21:44 UTC 2024 - Christophe Marin <christophe@krop.fr>

View File

@ -39,8 +39,8 @@ BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes
# gcc7 is too old for std::transform_reduce
%if 0%{?suse_version} == 1500
BuildRequires: gcc10-c++
BuildRequires: gcc10-PIE
BuildRequires: gcc13-c++
BuildRequires: gcc13-PIE
%endif
BuildRequires: krb5-devel
BuildRequires: libacl-devel
@ -139,7 +139,7 @@ Development files.
%endif
%if 0%{?suse_version} == 1500
export CXX=g++-10
export CXX=g++-13
%endif
%cmake_kf5 -d build