From 4626e6ecc01164d33e4245fcb13a0a666090d378418e6ae2f0e7ca04549f62b0 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 24 Oct 2024 15:05:46 +0000 Subject: [PATCH] Accepting request 1218062 from home:dgarcia:SLFO:Main - Build with latest gcc for Leap 16.0 OBS-URL: https://build.opensuse.org/request/show/1218062 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=170 --- python-numpy.changes | 5 +++++ python-numpy.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-numpy.changes b/python-numpy.changes index b31bd1b..71b7a3c 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 24 12:21:00 UTC 2024 - Daniel Garcia + +- Build with latest gcc for Leap 16.0 + ------------------------------------------------------------------- Mon Oct 21 06:52:58 UTC 2024 - Richard Rahl diff --git a/python-numpy.spec b/python-numpy.spec index 6a39d4e..9630901 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -88,7 +88,7 @@ BuildRequires: %{python_module meson-python >= 0.15} BuildRequires: %{python_module pip} BuildRequires: %{python_module pyproject-metadata >= 0.7.1} BuildRequires: cmake -%if 0%{?suse_version} <= 1600 +%if 0%{?suse_version} < 1600 BuildRequires: gcc12 BuildRequires: gcc12-c++ %else @@ -215,7 +215,7 @@ EOF %else export CFLAGS="%{optflags} -fno-strict-aliasing" %endif -%if 0%{?suse_version} <= 1600 +%if 0%{?suse_version} < 1600 export CC=gcc-12 export CXX=g++-12 %endif