diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..8135502bf055aa9de75386c4246534b9c23c6f70 --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,28 @@ +From 32bda93b8b0a127a4fc91b74e9de6767d05b757c Mon Sep 17 00:00:00 2001 +From: jxy_git +Date: Tue, 22 Nov 2022 11:06:00 +0800 +Subject: [PATCH] add setup.py + +--- + setup.py | 9 +++++++++ + 1 file changed, 9 insertions(+) + create mode 100644 setup.py + +diff --git a/setup.py b/setup.py +new file mode 100644 +index 0000000..870a1c3 +--- /dev/null ++++ b/setup.py +@@ -0,0 +1,9 @@ ++#!/usr/bin/env python ++ ++from setuptools import setup ++ ++if __name__ == "__main__": ++ setup( ++ name = "twine", ++ version = "4.0.1", ++) +-- +2.38.1 + diff --git a/python-twine.spec b/python-twine.spec index 81b07fe38e4c27b7b30df9b8d53eced5d1bb5c8b..fbc8f21f3b52ca29651b202386ecfa7e028b3416 100644 --- a/python-twine.spec +++ b/python-twine.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-twine -Version: 3.2.0 -Release: 2 +Version: 4.0.1 +Release: 1 Summary: Collection of utilities for publishing packages on PyPI License: Apache-2.0 URL: https://twine.readthedocs.io/ -Source0: https://files.pythonhosted.org/packages/14/54/2fc5732362649f4b6f4c245c17dc5a526148b1fb2c3a89176a2ef950628a/twine-3.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/08/2a/e03c20f47c750699063bbb349d68dea8990a0694f7bc65d1a97bf3254fa7/twine-4.0.1.tar.gz +Patch0: 0001-add-setup.py.patch BuildArch: noarch Requires: python3-pkginfo @@ -13,11 +14,11 @@ Requires: python3-readme-renderer Requires: python3-requests Requires: python3-requests-toolbelt Requires: python3-setuptools -Requires: python3-tqdm Requires: python3-keyring Requires: python3-rfc3986 -Requires: python3-colorama +Requires: python3-urllib3 Requires: python3-importlib-metadata +Requires: python3-rich %description Twine is a utility for publishing Python packages on PyPI. @@ -49,7 +50,8 @@ See our documentation for a description of features, installation and usage instructions, and links to additional resources. %prep -%autosetup -n twine-3.2.0 +%autosetup -n twine-%{version} +%patch0 %build %py3_build @@ -89,6 +91,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Nov 08 2022 jiangxinyu - 4.0.1-1 +- Upgrade package to version 4.0.1 + * Wed May 11 2022 yangping - 3.2.0-2 - License compliance rectification diff --git a/twine-3.2.0.tar.gz b/twine-3.2.0.tar.gz deleted file mode 100644 index 728cf698b51e2fafc13cb401769f0499cbd47281..0000000000000000000000000000000000000000 Binary files a/twine-3.2.0.tar.gz and /dev/null differ diff --git a/twine-4.0.1.tar.gz b/twine-4.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7d60cf940ed3c2aea1b663dcdf629884ebdcd8b1 Binary files /dev/null and b/twine-4.0.1.tar.gz differ