diff --git a/python-numpy.changes b/python-numpy.changes index 73ecd01..a056c19 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 22 16:40:40 UTC 2020 - Stefan BrĂ¼ns + +- 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 diff --git a/python-numpy.spec b/python-numpy.spec index 0817243..a63a6bf 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -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