Accepting request 1060374 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1060374 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=112
This commit is contained in:
commit
409adf5858
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 22 19:55:11 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Slightly reformat the specfile condition blocks: The
|
||||
%python_subpackages generator misses " %if" lines with a
|
||||
preceding whitespace. Relevant for d:l:p:backports not having
|
||||
libalternatives.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 19:31:48 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -103,27 +103,27 @@ 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
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gcc-fortran
|
||||
%else
|
||||
%else
|
||||
BuildRequires: gcc-gfortran
|
||||
%endif
|
||||
%if %{with openblas}
|
||||
%endif
|
||||
%if %{with openblas}
|
||||
BuildRequires: openblas-devel > 0.3.20
|
||||
%else
|
||||
%else
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: cblas-devel
|
||||
BuildRequires: lapack-devel
|
||||
# openblas has significantly better performance for some operations
|
||||
Recommends: libopenblas_pthreads0
|
||||
%endif
|
||||
%if %{with libalternatives}
|
||||
%endif
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%endif
|
||||
%endif
|
||||
%else
|
||||
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
|
||||
BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
|
||||
|
Loading…
Reference in New Issue
Block a user