diff --git a/python-numpy.changes b/python-numpy.changes index ee9f05d..5e4d5e7 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 13 06:53:32 UTC 2023 - Steve Kowalik + +- Do not attempt to ship numpy.distutils C code in the Python 3.12 -devel + package, it is not installed. + ------------------------------------------------------------------- Mon Nov 20 05:09:33 UTC 2023 - Steve Kowalik diff --git a/python-numpy.spec b/python-numpy.spec index 131b732..3a26908 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -408,8 +408,10 @@ popd %license LICENSE.txt %if %{without hpc} %{python_sitearch}/numpy/core/include/ +%if 0%{python_version_nodots} < 312 %{python_sitearch}/numpy/distutils/mingw/*.c %{python_sitearch}/numpy/distutils/checks/*.c +%endif %{python_sitearch}/numpy/f2py/src/ %{python_sitearch}/numpy/core/lib/libnpymath.a %{python_sitearch}/numpy/random/lib/libnpyrandom.a @@ -417,8 +419,10 @@ popd %{p_python_sitearch}/numpy/core/include/ %{p_python_sitearch}/numpy/core/lib/libnpymath.a %{p_python_sitearch}/numpy/random/lib/libnpyrandom.a +%if 0%{python_version_nodots} < 312 %{p_python_sitearch}/numpy/distutils/mingw/*.c %{p_python_sitearch}/numpy/distutils/checks/*.c +%endif %{p_python_sitearch}/numpy/f2py/src/ %endif