From 189f079591d2af66eaef0343467ccb172197fe95c3f6e9d1a7d3824fce54cdff Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Wed, 31 Jan 2024 19:58:32 +0000 Subject: [PATCH] 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/libksysguard5?expand=0&rev=381 --- libksysguard5.changes | 6 ++++++ libksysguard5.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libksysguard5.changes b/libksysguard5.changes index a244351..8e598b1 100644 --- a/libksysguard5.changes +++ b/libksysguard5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 31 14:35:34 UTC 2024 - Christophe Marin + +- Switch to the latest GCC version available in Leap for packages + that can't build with the default compiler + ------------------------------------------------------------------- Wed Dec 6 11:46:42 UTC 2023 - Fabian Vogt diff --git a/libksysguard5.spec b/libksysguard5.spec index 3a8a05c..5f764a3 100644 --- a/libksysguard5.spec +++ b/libksysguard5.spec @@ -40,8 +40,8 @@ BuildRequires: kf5-filesystem BuildRequires: xz %if 0%{?suse_version} <= 1500 # It does not build with the default compiler (GCC 7) on Leap 15.x -BuildRequires: gcc10-PIE -BuildRequires: gcc10-c++ +BuildRequires: gcc13-PIE +BuildRequires: gcc13-c++ %endif BuildRequires: cmake(KF5Auth) BuildRequires: cmake(KF5Completion) @@ -147,7 +147,7 @@ QML applications. %build %if 0%{?suse_version} <= 1500 - export CC=gcc-10 CXX=g++-10 + export CC=gcc-13 CXX=g++-13 %endif %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %cmake_build