From a39d658f0f8748b1ea71febad49f0d49dfa6d25c Mon Sep 17 00:00:00 2001 From: Carl George Date: Mon, 25 Sep 2023 16:32:54 -0500 Subject: [PATCH] Fix PEP number typo --- pyproject-rpm-macros.spec | 2 +- pyproject_save_files.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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