From 223092825a15b27f8a19206437ba512d724481e0 Mon Sep 17 00:00:00 2001 From: yangbo Date: Thu, 5 Jan 2023 18:00:08 +0800 Subject: [PATCH] Start using twine for uploads Signed-off-by: yangbo --- ...t-0001-Start-using-twine-for-uploads.patch | 21 +++++++++++++++++++ python-atomicwrites.spec | 10 ++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 backport-0001-Start-using-twine-for-uploads.patch diff --git a/backport-0001-Start-using-twine-for-uploads.patch b/backport-0001-Start-using-twine-for-uploads.patch new file mode 100644 index 0000000..2c722b0 --- /dev/null +++ b/backport-0001-Start-using-twine-for-uploads.patch @@ -0,0 +1,21 @@ +From 97d60c40406affbc1978c9197ed899653b1b6c7a Mon Sep 17 00:00:00 2001 +From: Markus Unterwaditzer +Date: Tue, 28 Apr 2020 23:43:00 +0200 +Subject: [PATCH] Start using twine for uploads + +--- + Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index d257e7b..776b3c4 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,2 +1,3 @@ + release: +- python setup.py sdist bdist_wheel upload ++ python setup.py sdist bdist_wheel ++ twine upload dist/* +-- +2.39.0.windows.2 + diff --git a/python-atomicwrites.spec b/python-atomicwrites.spec index 4797bb9..e767367 100644 --- a/python-atomicwrites.spec +++ b/python-atomicwrites.spec @@ -8,13 +8,15 @@ It sports:\ Name: python-atomicwrites Version: 1.4.0 -Release: 1 +Release: 2 Summary: Python Atomic file writes on POSIX License: MIT URL: https://github.com/untitaker/%{name} Source0: https://github.com/untitaker/%{name}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch +Patch6000: backport-0001-Start-using-twine-for-uploads.patch + BuildRequires: python3-devel python3-setuptools python3-sphinx python3-pytest %description %_description @@ -58,6 +60,12 @@ cp -r docs/_build/man/*.1 "$RPM_BUILD_ROOT%{_mandir}/man1" %{_mandir}/man1/atomicwrites.1.* %changelog +* Thu Jan 5 2023 yangbo - 1.4.0-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Start using twine for uploads + * Mon Jun 06 2022 xigaoxinyan - 1.4.0-1 - Update to 1.4.0 -- Gitee