bugfix eliminate random order in metadata
This commit is contained in:
parent
fe7c9f728d
commit
ddc67a25dd
25
bugfix-eliminate-random-order-in-metadata.patch
Normal file
25
bugfix-eliminate-random-order-in-metadata.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 99ba862948c27f8851ae2131ff36daee0195ae4a Mon Sep 17 00:00:00 2001
|
||||||
|
From: chengzihan2 <chengzihan1111@163.com>
|
||||||
|
Date: Thu, 4 Jun 2020 17:29:07 +0800
|
||||||
|
Subject: [PATCH] bugfix eliminate random order in metadata
|
||||||
|
|
||||||
|
---
|
||||||
|
setuptools/dist.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/setuptools/dist.py b/setuptools/dist.py
|
||||||
|
index f0f030b..d22e533 100644
|
||||||
|
--- a/setuptools/dist.py
|
||||||
|
+++ b/setuptools/dist.py
|
||||||
|
@@ -194,7 +194,7 @@ def write_pkg_file(self, file):
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -11,13 +11,14 @@
|
|||||||
|
|
||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
Version: 41.2.0
|
Version: 41.2.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
|
|
||||||
License: MIT and (BSD or ASL 2.0)
|
License: MIT and (BSD or ASL 2.0)
|
||||||
URL: https://pypi.python.org/pypi/setuptools
|
URL: https://pypi.python.org/pypi/setuptools
|
||||||
Source0: %{pypi_source setuptools %{version} zip}
|
Source0: %{pypi_source setuptools %{version} zip}
|
||||||
Patch0: create-site-packages.patch
|
Patch0: create-site-packages.patch
|
||||||
|
Patch9000: bugfix-eliminate-random-order-in-metadata.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
@ -143,6 +144,9 @@ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=$(pwd) py.test-%{python3_version} --ignore=
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 4 2020 chengzihan <chengzihan2@huawei.com> - 41.2.0-3
|
||||||
|
- bugfix eliminate random order in metadata
|
||||||
|
|
||||||
* Thu Jun 4 2020 chengzihan <chengzihan2@huawei.com> - 41.2.0-2
|
* Thu Jun 4 2020 chengzihan <chengzihan2@huawei.com> - 41.2.0-2
|
||||||
- Upgrade package to version 41.2.0
|
- Upgrade package to version 41.2.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user