Christophe Marin 2023-08-20 14:08:42 +00:00 committed by Git OBS Bridge
parent 8e6066db55
commit 8f59c8f4ec

View File

@ -35,8 +35,8 @@ BuildRequires: cmark
BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes
%if 0%{?suse_version} == 1500
BuildRequires: gcc10-c++
BuildRequires: gcc10-PIE
BuildRequires: gcc12-c++
BuildRequires: gcc12-PIE
%endif
BuildRequires: kf5-filesystem
BuildRequires: pkgconfig
@ -84,7 +84,7 @@ messaging.
%build
# c++-20 is required
%if 0%{?suse_version} == 1500
export CC=gcc-10 CXX=g++-10
export CC=gcc-12 CXX=g++-12
%endif
%cmake_kf5 -d build