From e564a82795d4fc52d4cec74a63f9372df1d7fa71a6cd0bc8cae5dde23e007159 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 27 Jan 2023 09:52:33 +0000 Subject: [PATCH] - using gcc 12 now also on Leap 15.4; after changing build project to openSUSE:Leap:15.4:Update gcc 12 packages are found now ... OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1184 --- Mesa.changes | 6 ++++++ Mesa.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Mesa.changes b/Mesa.changes index 5867732..3d746e1 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 27 09:48:22 UTC 2023 - Stefan Dirsch + +- using gcc 12 now also on Leap 15.4; after changing build project + to openSUSE:Leap:15.4:Update gcc 12 packages are found now ... + ------------------------------------------------------------------- Tue Jan 24 11:06:48 UTC 2023 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index b48b3d5..0c6360c 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -154,7 +154,7 @@ BuildRequires: bison BuildRequires: cmake BuildRequires: fdupes BuildRequires: flex -%if 0%{?sle_version} >= 150500 +%if 0%{?sle_version} >= 150400 BuildRequires: gcc12-c++ %else BuildRequires: gcc-c++ @@ -811,7 +811,7 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \ %ifarch ppc64 ppc64le %limit_build -m 1024 %endif -%if 0%{?sle_version} >= 150500 +%if 0%{?sle_version} >= 150400 export CC=gcc-12 export CXX=g++-12 %endif