1
0
forked from pool/libksysguard5

Accepting request 1143124 from KDE:Frameworks5

Switch to GCC 13 for Leap builds for packages that can't be built with the default compiler (forwarded request 1143049 from krop)

OBS-URL: https://build.opensuse.org/request/show/1143124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libksysguard5?expand=0&rev=166
This commit is contained in:
Ana Guerrero 2024-02-01 17:04:04 +00:00 committed by Git OBS Bridge
commit 1676994eed
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 31 14:35:34 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
-------------------------------------------------------------------
Wed Dec 6 11:46:42 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -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