diff --git a/xca.changes b/xca.changes index 181580c..43b5c98 100644 --- a/xca.changes +++ b/xca.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 4 13:18:04 UTC 2024 - ecsos + +- Fix build error in Leap. + ------------------------------------------------------------------- Wed Apr 3 11:43:34 UTC 2024 - pgajdos@suse.com diff --git a/xca.spec b/xca.spec index f563039..8f473fd 100644 --- a/xca.spec +++ b/xca.spec @@ -27,7 +27,13 @@ Summary(de): Ein RSA-Schlüssel- und -Zertifikat-Managementprogramm URL: https://www.hohnstaedt.de/xca/ Source: https://github.com/chris2511/xca/releases/download/RELEASE.%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-desktop.patch -BuildRequires: gcc-c++ +%if 0%{?suse_version} <= 1600 +BuildRequires: gcc12 +BuildRequires: gcc12-c++ +%else +BuildRequires: gcc +BuildRequires: gcc-c++ +%endif BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist BuildRequires: libtool @@ -77,6 +83,10 @@ Bash completion script for %{name}. %build %if 0%{?suse_version} <= 1600 +export CC=gcc-12 +export CXX=g++-12 +%endif +%if 0%{?suse_version} <= 1600 %cmake %cmake_build %else