From: Quentin Schulz <quentin.sch...@cherry.de> Since commit 51ec8db23280 ("pylibfdt: correct license information"), the License classifiers are gone so I assume setuptools now extract the license from the license argument to setuptools.setup() function.
It's always been incorrect as far as I could tell, so let's fix this with the appropriate info from the SPDX License identifier at the top of the file. It was missing GPL-2.0-or-later and we disambiguate by using BSD-2-Clause instead of simply BSD. Fixes: 6b08fb5cc44f ("fdt: Move to setuptools") Signed-off-by: Quentin Schulz <quentin.sch...@cherry.de> --- Note: not tested --- scripts/dtc/pylibfdt/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtc/pylibfdt/setup.py b/scripts/dtc/pylibfdt/setup.py index 487e669f524ad1d2b5e6549a2e3ee18968757da2..0f7485de9b50ba9ab9d2756f6588377de2722467 100755 --- a/scripts/dtc/pylibfdt/setup.py +++ b/scripts/dtc/pylibfdt/setup.py @@ -157,7 +157,7 @@ setup( long_description=long_description, long_description_content_type="text/plain", url="https://git.kernel.org/pub/scm/utils/dtc/dtc.git", - license="BSD", + license="GPL-2.0-or-later OR BSD-2-Clause", license_files=["Licenses/gpl-2.0.txt", "Licenses/bsd-2-clause.txt"], classifiers=[ --- base-commit: d7c449c3d83a986d61e38d1762433c0607caf5c5 change-id: 20250610-pylibfdt-license-2e165b281e78 Best regards, -- Quentin Schulz <quentin.sch...@cherry.de>