Correct Conflicts/Provides for python-numpy
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy1?expand=0&rev=3
This commit is contained in:
parent
b443934fa2
commit
695e7f9ce9
@ -1,5 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 28 06:48:02 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
Tue Jul 2 04:42:07 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Rename this to numpy1 to keep it around.
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user