From 286728af2e7e0d8f3d5ed970d4180ce61b3b39fa8b506876b652e1d7db2b0831 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 24 Sep 2024 21:07:02 +0000 Subject: [PATCH] Accepting request 1203051 from home:ecsos:python - Fix build error for Leap 16. OBS-URL: https://build.opensuse.org/request/show/1203051 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy1?expand=0&rev=10 --- python-numpy1.changes | 5 +++++ python-numpy1.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-numpy1.changes b/python-numpy1.changes index a336d80..a9f6894 100644 --- a/python-numpy1.changes +++ b/python-numpy1.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 24 19:05:58 UTC 2024 - ecsos + +- Fix build error for Leap 16. + ------------------------------------------------------------------- Tue Sep 3 18:32:16 UTC 2024 - Ben Greiner diff --git a/python-numpy1.spec b/python-numpy1.spec index 02e90aa..4f9fe5d 100644 --- a/python-numpy1.spec +++ b/python-numpy1.spec @@ -102,7 +102,7 @@ BuildRequires: %{python_module meson-python >= 0.15 with %python-meson-python < 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 @@ -233,7 +233,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