diff --git a/python-numpy1.changes b/python-numpy1.changes index a64c3b2..2b74a02 100644 --- a/python-numpy1.changes +++ b/python-numpy1.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Fri Jun 28 06:48:02 UTC 2024 - Steve Kowalik +Tue Jul 2 04:42:07 UTC 2024 - Steve Kowalik - Rename this to numpy1 to keep it around. diff --git a/python-numpy1.spec b/python-numpy1.spec index 4c10353..937492e 100644 --- a/python-numpy1.spec +++ b/python-numpy1.spec @@ -120,6 +120,8 @@ BuildRequires: %{python_module typing-extensions >= 4.2.0} %if %{without hpc} # Last version which packaged %%{_bindir}/f2py without update-alternatives Conflicts: %{plainpython}-numpy <= 1.12.0 +Provides: python-numpy = %{version} +Conflicts: python-numpy > %{version} %if 0%{?suse_version} BuildRequires: gcc-fortran %else @@ -146,14 +148,13 @@ Requires(postun): update-alternatives %else BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel +Provides: python-numpy_1_26_4-gnu-hpc = %{version} %ifnarch %ix86 %arm BuildRequires: lua-lmod %endif BuildRequires: suse-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc %endif -Provides: python-numpy = %{version} -Conflicts: python-numpy > %{version} %python_subpackages %description @@ -176,19 +177,22 @@ Requires: %{name} = %{version} Requires: python-devel Requires: %plainpython(abi) = %{python_version} %if %{without hpc} +Provides: python-numpy-devel = %{version} +Conflicts: python-numpy-devel > %{version} %if %{with openblas} Requires: openblas-devel -%else +%else # openblas Requires: blas-devel %if %{with cblas} Requires: cblas-devel -%endif +%endif # cblas Requires: lapack-devel %endif -%else +%else # hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel %{hpc_requires_devel} -%endif +Provides: python-numpy_1_26_4-gnu-hpc-devel +%endif # hpc %description devel This package contains files for developing applications using numpy.