import numpy-1.19.4-3.module+el8.5.0+12204+54860423

This commit is contained in:
CentOS Sources 2021-11-09 04:50:19 -05:00 committed by Stepan Oksanichenko
parent c191bd59ab
commit e7790c96d4

View File

@ -8,7 +8,7 @@
Name: numpy
Version: 1.19.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A fast multidimensional array facility for Python
# Everything is BSD except for class SafeEval in numpy/lib/utils.py which is Python
@ -77,6 +77,8 @@ Requires: python%{python3_pkgversion}-devel
Provides: python%{python3_pkgversion}-f2py = %{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-numpy-f2py}
# Require alternatives version that implements the --keep-foreign flag
Requires(postun): alternatives >= 1.19.1-1
# python39 installs the alternatives master symlink to which we attach a slave
Requires: python%{python3_pkgversion}
Requires(post): python%{python3_pkgversion}
@ -159,7 +161,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
%postun -n python%{python3_pkgversion}-numpy-f2py
# Do this only during uninstall process (not during update)
if [ $1 -eq 0 ]; then
alternatives --remove-slave python3 %{_bindir}/python%{python3_version} \
alternatives --keep-foreign --remove-slave python3 %{_bindir}/python%{python3_version} \
f2py3
fi
@ -198,6 +200,10 @@ fi
%changelog
* Thu Aug 05 2021 Tomas Orsava <torsava@redhat.com> - 1.19.4-3
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
- Resolves: rhbz#1933055
* Mon Jan 18 2021 Tomas Orsava <torsava@redhat.com> - 1.19.4-2
- Convert from Fedora to the python39 module in RHEL8
- Resolves: rhbz#1877430