14
0

Accepting request 1199876 from home:mcalabkova:branches:devel:languages:python

- Add upstream patch numpy2.patch to fix compatibility with Numpy 2
  * f897b0ed75

OBS-URL: https://build.opensuse.org/request/show/1199876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opengl-accelerate?expand=0&rev=27
This commit is contained in:
2024-09-11 07:53:49 +00:00
committed by Git OBS Bridge
parent a9ff18be43
commit 57db7355d0
3 changed files with 30 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ URL: http://pyopengl.sourceforge.net
Source0: %{tarname}-%{_version}.tar.gz
# PATCH-FIX-UPSTREAM - accelerate: Fix C type errors for GCC 14/Clang compatibility
Patch0: https://github.com/mcfletch/pyopengl/pull/112.patch
# PATCH-FIX-UPSTREAM https://github.com/mcfletch/pyopengl/commit/f897b0ed75c00d4c524be4689683a334832217ac BUGFIX Numpy intp type for latest numpy
Patch1: numpy2.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module opengl >= %{version}}