From 7a725177361053e5932657a718eb53ef8634cb9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 23 Jan 2023 12:04:34 +0100 Subject: [PATCH] Workaround a build failure with Python 3.11.1 --- python-setuptools.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 9b462fe..e047d4d 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -132,7 +132,9 @@ A Python wheel of setuptools to use with venv. # If we don't have setuptools installed yet, we use the pre-generated .egg-info # See https://github.com/pypa/setuptools/pull/2543 # And https://github.com/pypa/setuptools/issues/2550 -rm -r %{srcname}.egg-info +# WARNING: We cannot remove this folder since Python 3.11.1, +# see https://github.com/pypa/setuptools/issues/3761 +#rm -r %%{srcname}.egg-info %endif # Strip shbang