Christophe Giboudeaux 2022-08-05 06:07:34 +00:00 committed by Git OBS Bridge
parent 90cc712612
commit 9d58f2cc57
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 5 06:07:29 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Use GCC 10 to build neochat on Leap.
-------------------------------------------------------------------
Wed Aug 3 07:56:35 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -34,6 +34,9 @@ BuildRequires: cmake >= 3.16
BuildRequires: cmark
BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes
%if 0%{?suse_version} == 1500
BuildRequires: gcc10-c++
%endif
BuildRequires: kf5-filesystem
BuildRequires: pkgconfig
BuildRequires: cmake(KF5Config) >= %{_kf5_version}
@ -79,7 +82,13 @@ messaging.
%autosetup -p1
%build
# c++-20 is required
%if 0%{?suse_version} == 1500
export CC=gcc-10 CXX=g++-10
%endif
%cmake_kf5 -d build
%cmake_build
%install