From 5bcd0c2f9602f3a174decd710feb8845fa66e79f Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Thu, 16 Jul 2026 12:22:59 +0200 Subject: [PATCH] automatic version update by autodist [release 2.5.1-1mamba;Sat Jul 11 2026] --- python-numpy.spec | 39 ++++++++++++++++----------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/python-numpy.spec b/python-numpy.spec index 1d69ca4..d9bb157 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -1,6 +1,6 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-numpy -Version: 2.4.6 +Version: 2.5.1 Release: 1mamba Summary: NumPy: Scientific computing with Python NumPy Group: System/Libraries/Python @@ -14,9 +14,10 @@ License: BSD BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libopenblas-devel -BuildRequires: libpython311-devel +BuildRequires: libpython314-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: python3 >= 0:3.14.6-2mamba BuildRequires: python3-devel >= 3.11.5-3mamba BuildRequires: libblas-devel >= 3.9.0 %ifnarch arm aarch64 @@ -27,6 +28,11 @@ BuildRequires: gcc-fortran BuildRequires: patchelf BuildRequires: python-Cython-py3 BuildRequires: python-pyproject-metadata-py3 +Obsoletes: python-numpy-devel < 1.26.0-2mamba +Obsoletes: python-numeric <= 24.2-3mamba +Obsoletes: python-numeric-devel <= 24.2-3mamba +Obsoletes: python-numpy-py3 < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: python-numpy-py3 = %{?epoch:%{epoch}:}%{version}-%{release} %description NumPy is the fundamental package needed for scientific computing with Python. @@ -40,14 +46,6 @@ Besides its obvious scientific uses, NumPy can also be used as an efficient mult Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases. -%if 0%{?with_pyver} -%define py_requires_append \ -Obsoletes: python-numpy-devel < 1.26.0-2mamba \ -Obsoletes: python-numeric <= 24.2-3mamba \ -Obsoletes: python-numeric-devel <= 24.2-3mamba -%pyver_package -%endif - %prep %setup -q -n numpy-%{version} @@ -58,22 +56,13 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl -%if "%{?with_pyver}" != "3" -# Rename any conflicting file outside of python site packages tree -for f in %{_bindir}/{f2py,numpy-config}; do - mv %{buildroot}${f}{,-%{?pyappend}} -done -%endif - -%if "%{?with_pyver}" == "3" install -d -m0755 %{buildroot}%{_includedir} ln -s %{python_sitearch}/numpy/_core/include/numpy %{buildroot}%{_includedir}/numpy -%endif %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files %{?pyappend} +%files %defattr(-,root,root) %{_bindir}/f2py* %{_bindir}/numpy-config* @@ -81,11 +70,15 @@ ln -s %{python_sitearch}/numpy/_core/include/numpy %{buildroot}%{_includedir}/nu %{python_sitearch}/numpy-%{version}.dist-info/* %dir %{python_sitearch}/numpy %{python_sitearch}/numpy/* -%if "%{?with_pyver}" == "3" %{_includedir}/numpy -%endif %changelog +* Sat Jul 11 2026 Automatic Build System 2.5.1-1mamba +- automatic version update by autodist + +* Wed Jul 08 2026 Automatic Build System 2.4.6-2mamba +- rebuilt by autoport with build requirements: python3>=0:3.14.6-2mamba + * Tue May 19 2026 Automatic Build System 2.4.6-1mamba - automatic version update by autodist @@ -300,4 +293,4 @@ ln -s %{python_sitearch}/numpy/_core/include/numpy %{buildroot}%{_includedir}/nu - update to 1.4.1 * Sat Oct 17 2009 Silvan Calarco 1.3.0-1mamba -- package created by autospec \ No newline at end of file +- package created by autospec