forked from pool/python-numpy
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:
@@ -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>
|
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}
|
%if %{without hpc}
|
||||||
# Last version which packaged %%{_bindir}/f2py without update-alternatives
|
# Last version which packaged %%{_bindir}/f2py without update-alternatives
|
||||||
Conflicts: %{plainpython}-numpy <= 1.12.0
|
Conflicts: %{plainpython}-numpy <= 1.12.0
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
%else
|
%else
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
%endif
|
%endif
|
||||||
%if %{with openblas}
|
%if %{with openblas}
|
||||||
BuildRequires: openblas-devel > 0.3.20
|
BuildRequires: openblas-devel > 0.3.20
|
||||||
%else
|
%else
|
||||||
BuildRequires: blas-devel
|
BuildRequires: blas-devel
|
||||||
BuildRequires: cblas-devel
|
BuildRequires: cblas-devel
|
||||||
BuildRequires: lapack-devel
|
BuildRequires: lapack-devel
|
||||||
# openblas has significantly better performance for some operations
|
# openblas has significantly better performance for some operations
|
||||||
Recommends: libopenblas_pthreads0
|
Recommends: libopenblas_pthreads0
|
||||||
%endif
|
%endif
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
Requires: alts
|
Requires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
|
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
|
||||||
BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
|
BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
|
||||||
|
Reference in New Issue
Block a user