diff --git a/AppStream.changes b/AppStream.changes index 71bc2b8..50a0770 100644 --- a/AppStream.changes +++ b/AppStream.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 31 14:34:55 UTC 2024 - Christophe Marin + +- Switch to the latest GCC version available in Leap for packages + that can't build with the default compiler + ------------------------------------------------------------------- Fri Dec 15 11:12:14 UTC 2023 - Christophe Marin diff --git a/AppStream.spec b/AppStream.spec index 37a3e7f..149e7e7 100644 --- a/AppStream.spec +++ b/AppStream.spec @@ -28,7 +28,7 @@ %endif # The default Leap compiler is too old for building AppStream-qt6. use the same compiler for both flavors %if 0%{?suse_version} == 1500 -%bcond_without gcc12 +%bcond_without gcc13 %endif %define rname AppStream %define libappstream_sover 5 @@ -51,9 +51,9 @@ Patch2: 0001-content-rating-Fix-missing-or-wrong-value-descriptio.patch Patch3: 0001-Fix-lib-name-for-Qt5-link-target.patch BuildRequires: cairo-devel BuildRequires: docbook-xsl-stylesheets -%if %{with gcc12} -BuildRequires: gcc12 -BuildRequires: gcc12-c++ +%if %{with gcc13} +BuildRequires: gcc13 +BuildRequires: gcc13-c++ %endif BuildRequires: gdk-pixbuf-loader-rsvg BuildRequires: gettext @@ -224,8 +224,8 @@ GObject introspection bindings for interfaces provided by AppStream. %define options -Dqt5=true -Dcompose=true -Dvapi=%{build_vapi} %endif -%if %{with gcc12} -export CC=gcc-12 CXX=g++-12 +%if %{with gcc13} +export CC=gcc-13 CXX=g++-13 %endif %meson %{common_options} %{options}