From 6ec6ce0010b768f6162b90236534642c93fcb8ab Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 09 2021 10:02:51 +0000 Subject: import numpy-1.14.3-10.el8 --- diff --git a/SPECS/numpy.spec b/SPECS/numpy.spec index be82ceb..4c083ff 100644 --- a/SPECS/numpy.spec +++ b/SPECS/numpy.spec @@ -1,6 +1,6 @@ Name: numpy Version: 1.14.3 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 1 Summary: A fast multidimensional array facility for Python @@ -57,10 +57,14 @@ this package is a version of f2py that works properly with NumPy. Summary: f2py for numpy Requires: python3-numpy = %{epoch}:%{version}-%{release} Requires: python3-libs-devel + +# Require alternatives version that implements the --keep-foreign flag +Requires(postun): alternatives >= 1.19.1-1 # For alternatives Requires: python36 Requires(post): python36 Requires(postun): python36 + Provides: python3-f2py = %{version}-%{release} Obsoletes: python3-f2py <= 2.45.241_1927 %{?python_provide:%python_provide python3-numpy-f2py} @@ -159,7 +163,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \ %postun -n python3-numpy-f2py # Do this only during uninstall process (not during update) if [ $1 -eq 0 ]; then - alternatives --remove-slave python3 \ + alternatives --keep-foreign --remove-slave python3 \ %{_bindir}/python%{python3_version} f2py3 fi @@ -198,6 +202,10 @@ fi %changelog +* Fri Jul 30 2021 Tomas Orsava - 1:1.14.3-10 +- Adjusted the postun scriptlets to enable upgrading to RHEL 9 +- Resolves: rhbz#1933055 + * Wed Jun 05 2019 Nikola Forró - 1:1.14.3-9 - Fix CVE-2019-6446 resolves: #1668466