From 7192fcfe4911da5311e77afd3f3246557df1c15f Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 12 Oct 2023 01:24:43 +0000 Subject: [PATCH] Add missing licenses to the License tag, use %license MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cherry-picked from Fedora: https://src.fedoraproject.org/rpms/scipy/c/1999f77f847634738f3d6d30962db9e41ffd2cd0 Amended to de-SPDX it. Amended to package LICENSES_bundled.txt, proposed in: https://src.fedoraproject.org/rpms/scipy/pull-request/35 Co-Authored-By: Miro HronĨok --- python3.12-scipy.spec | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/python3.12-scipy.spec b/python3.12-scipy.spec index 8bc5f6f..12e5098 100644 --- a/python3.12-scipy.spec +++ b/python3.12-scipy.spec @@ -27,10 +27,26 @@ Name: python%{python3_pkgversion}-scipy Version: 1.11.1 Release: 1%{?dist} -# BSD -- whole package except: -# Boost -- scipy/special/cephes/scipy_iv.c +# BSD (3-Clause) -- whole package except: +# BSD (2-Clause) -- scipy/_lib/_pep440.py +# scipy/_lib/decorator.py +# scipy/optimize/lbfgsb_src +# scipy/special/_ellip_harm.pxd +# MIT -- scipy/cluster/_optimal_leaf_ordering.pyx +# scipy/io/_idl.py +# scipy/linalg/_basic.py (in part) +# scipy/optimize/_highs +# scipy/optimize/_lbfgsb_py.py +# scipy/optimize/_tnc.py +# scipy/optimize/_trlib +# scipy/optimize/tnc +# scipy/special/Faddeeva.{cc,hh} +# Boost -- scipy/_lib/boost_math +# scipy/special/cephes +# Boehm-GC (MIT) -- scipy/sparse/linalg/_dsolve/SuperLU +# Qhull -- scipy/spatial/qhull_src # Public Domain -- scipy/odr/__odrpack.c -License: BSD and Boost and Public Domain +License: BSD and MIT and Boost and Qhull and Public Domain Url: http://www.scipy.org/scipylib/index.html Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz @@ -210,7 +226,7 @@ rm -rf scipy/.pytest_cache popd %files -n python%{python3_pkgversion}-scipy -%doc LICENSE.txt +%license LICENSE.txt LICENSES_bundled.txt %{python3_sitearch}/scipy/ %{python3_sitearch}/*.egg-info %exclude %{python3_sitearch}/scipy/*/tests/