From 44967b6cbae276ec444b62b0a81f1705ce0a88da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 15 Jan 2024 14:16:54 +0100 Subject: [PATCH] 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 --- python3.12-numpy.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python3.12-numpy.spec b/python3.12-numpy.spec index 285ec9f..3dbf336 100644 --- a/python3.12-numpy.spec +++ b/python3.12-numpy.spec @@ -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