diff --git a/pyproject-rpm-macros.spec b/pyproject-rpm-macros.spec index c197ba5..c1dcae0 100644 --- a/pyproject-rpm-macros.spec +++ b/pyproject-rpm-macros.spec @@ -212,7 +212,7 @@ export HOSTNAME="rpmbuild" # to speedup tox in network-less mock, see rhbz#1856 - Use %%py3_test_envvars in %%tox when available * Mon Sep 19 2022 Python Maint - 1.4.0-1 -- %%pyproject_save_files: Support License-Files installed into the *Root License Directory* from PEP 369 +- %%pyproject_save_files: Support License-Files installed into the *Root License Directory* from PEP 639 - Fixes: rhbz#2127946 - %%pyproject_check_import: Import only the modules whose top-level names match any of the globs provided to %%pyproject_save_files diff --git a/pyproject_save_files.py b/pyproject_save_files.py index 551a876..634e90b 100644 --- a/pyproject_save_files.py +++ b/pyproject_save_files.py @@ -345,7 +345,7 @@ def classify_paths( } license_files = metadata.get_all('License-File') - license_directory = distinfo / 'licenses' # See PEP 369 "Root License Directory" + license_directory = distinfo / 'licenses' # See PEP 639 "Root License Directory" # setuptools was the first known build backend to implement License-File. # Unfortunately they don't put licenses to the license directory (yet): # https://github.com/pypa/setuptools/issues/3596