File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ Version: 0.0.0
1313Release: %autorelease
1414Summary: Build backend for CMake based projects
1515
16- License: Apache-2.0
16+ # The main project is licensed under Apache-2.0, but it has a vendored project
17+ # src/scikit_build_core/_vendor/pyproject_metadata: MIT
18+ # https://github.com/scikit-build/scikit-build-core/issues/933
19+ License: Apache-2.0 AND MIT
1720URL: https://github.com/scikit-build/scikit-build-core
1821Source: %{pypi_source scikit_build_core}
1922
@@ -38,6 +41,7 @@ Recommends: (ninja-build or make)
3841Recommends: python3-scikit-build-core+pyproject = %{version }-%{release }
3942Suggests: ninja-build
4043Suggests: gcc
44+ Provides: bundled(python3dist(pyproject-metadata))
4145BuildArch: noarch
4246%description -n python3-scikit-build-core %_description
4347
@@ -63,6 +67,8 @@ It makes sure the dependencies are installed.
6367
6468%prep
6569%autosetup -n scikit_build_core-%{version }
70+ # Rename the bundled license so that it can be installed together
71+ cp -p src/scikit_build_core/_vendor/pyproject_metadata/LICENSE LICENSE-pyproject-metadata
6672
6773
6874%generate_buildrequires
@@ -87,7 +93,7 @@ It makes sure the dependencies are installed.
8793
8894
8995%files -n python3-scikit-build-core -f %{pyproject_files }
90- %license LICENSE
96+ %license LICENSE LICENSE-pyproject-metadata
9197%doc README.md
9298
9399
You can’t perform that action at this time.
0 commit comments