diff --git a/bugfix-eliminate-random-order-in-metadata.patch b/bugfix-eliminate-random-order-in-metadata.patch index a99903e412cfe233ff3f2b0f1fcf9128ebe5f728..f103434ea9cf13f1db8d235d8e1e376e58184fe5 100644 --- a/bugfix-eliminate-random-order-in-metadata.patch +++ b/bugfix-eliminate-random-order-in-metadata.patch @@ -8,18 +8,18 @@ Subject: [PATCH] bugfix eliminate random order in metadata 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setuptools/dist.py b/setuptools/dist.py -index f0f030b..d22e533 100644 +index fb16886..86a5402 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py -@@ -194,7 +194,7 @@ def write_pkg_file(self, file): - self.long_description_content_type - ) +@@ -208,7 +208,7 @@ def write_pkg_file(self, file): # noqa: C901 # is too complex (14) # FIXME + if self.long_description_content_type: + write_field('Description-Content-Type', self.long_description_content_type) if self.provides_extras: - for extra in self.provides_extras: + for extra in sorted(self.provides_extras): write_field('Provides-Extra', extra) - + self._write_list(file, 'License-File', self.license_files or []) -- -2.23.0 +1.8.3.1 diff --git a/python-setuptools.spec b/python-setuptools.spec index fed0420c14a439683057eb36da4f75ef5b521f36..843ebe696a375a0e59a264ab0bf42b70a2d3a81f 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -9,8 +9,8 @@ %global python_whlname setuptools-%{version}-py3-none-any.whl Name: python-setuptools -Version: 54.2.0 -Release: 2 +Version: 59.4.0 +Release: 1 Summary: Easily build and distribute Python packages License: MIT and (BSD or ASL 2.0) @@ -110,6 +110,9 @@ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=$(pwd) py.test-%{python3_version} --ignore= %changelog +* Wed Dec 01 2021 shixuantong - 59.4.0-1 +- update version to 59.4.0 + * Thu Nov 25 2021 shixuantong - 54.2.0-2 - add bootstrap for rebuild python3-3.10 diff --git a/setuptools-54.2.0.tar.gz b/setuptools-54.2.0.tar.gz deleted file mode 100644 index 51c3cecc446f7c624434e41a30bf498c057499fa..0000000000000000000000000000000000000000 Binary files a/setuptools-54.2.0.tar.gz and /dev/null differ diff --git a/setuptools-59.4.0.tar.gz b/setuptools-59.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..dcbbb8de099c6db8ac8dedfa290eaeb9ac0f88f6 Binary files /dev/null and b/setuptools-59.4.0.tar.gz differ