Convert the license tag from SPDX and add missing licenses

A similar change was proposed via https://src.fedoraproject.org/rpms/numpy/pull-request/42
This commit is contained in:
Miro Hrončok 2024-01-15 14:16:54 +01:00
parent 87fb2a406f
commit 44967b6cba

View File

@ -22,8 +22,12 @@ Version: 1.24.4
Release: 2%{?dist}
Summary: A fast multidimensional array facility for Python
# Everything is BSD except for class SafeEval in numpy/lib/utils.py which is Python
License: BSD-3-Clause AND Apache-2.0
# Everything is BSD except...
# numpy/core/src/multiarray/dragon4.*: MIT
# numpy/core/include/numpy/libdivide: zlib
# numpy/random/src/mt19937/randomkit.h: MIT
# numpy/random/src/pcg64: MIT and ASL 2.0
License: BSD and MIT and ASL 2.0 and zlib
URL: http://www.numpy.org/
Source0: https://github.com/%{modname}/%{modname}/releases/download/v%{version}/%{modname}-%{version}.tar.gz
Patch0: https://github.com/numpy/numpy/commit/b0872b858e2e6ebc394e95c81a024dcf1573c690.patch