Add missing licenses to the License tag, use %license
Cherry-picked from Fedora:
1999f77f84
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 <miro@hroncok.cz>
This commit is contained in:
parent
838532fe6b
commit
7192fcfe49
@ -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/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user