Accepting request 836166 from home:StefanBruens:branches:devel:languages:python:numeric

- Fix upgrade from older distro versions which did not package
  f2py using update-alternatives (catched by openQA, boo#1176832).

OBS-URL: https://build.opensuse.org/request/show/836166
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=74
This commit is contained in:
Tomáš Chvátal 2020-09-23 08:44:21 +00:00 committed by Git OBS Bridge
parent ca2a40df89
commit 589024d3d0
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 22 16:40:40 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix upgrade from older distro versions which did not package
f2py using update-alternatives (catched by openQA, boo#1176832).
-------------------------------------------------------------------
Fri Sep 18 08:19:50 UTC 2020 - Egbert Eich <eich@suse.com>

View File

@ -103,6 +103,10 @@ BuildRequires: openblas-devel > 0.3.4
BuildRequires: blas-devel
BuildRequires: lapack-devel
%endif
# Last version which packaged %%{_bindir}/f2py without update-alternatives
# Protect it from substitution
%define oldpy_numpy python-numpy
Conflicts: %{oldpy_numpy} <= 1.12.0
%else
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel