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:Applications/kio-extras5?expand=0&rev=208
This commit is contained in:
Christophe Marin 2024-01-31 19:58:31 +00:00 committed by Git OBS Bridge
parent 935c6cc1cf
commit 6f7b59ff13
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 31 14:35:17 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
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 15 21:30:43 UTC 2023 - Christophe Marin <christophe@krop.fr> Fri Dec 15 21:30:43 UTC 2023 - Christophe Marin <christophe@krop.fr>

View File

@ -35,8 +35,8 @@ BuildRequires: OpenEXR-devel
%endif %endif
BuildRequires: flac-devel BuildRequires: flac-devel
%if 0%{?suse_version} == 1500 %if 0%{?suse_version} == 1500
BuildRequires: gcc10-c++ BuildRequires: gcc13-c++
BuildRequires: gcc10-PIE BuildRequires: gcc13-PIE
%endif %endif
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: gperf BuildRequires: gperf
@ -109,7 +109,7 @@ This is the development package for libkioarchive
%build %build
%if 0%{?suse_version} == 1500 %if 0%{?suse_version} == 1500
export CXX=g++-10 export CXX=g++-13
%endif %endif
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5