From 0b7219ba40a65c8a335eb3747c62df505b47ce4e Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Thu, 30 Nov 2023 21:28:50 +0800 Subject: [PATCH] Added Python 3.4-3.7 language classifiers Signed-off-by: zhang-liang-pengkun --- ...-Python-3.4-3.7-language-classifiers.patch | 29 +++++++++++++++++++ python-bottle.spec | 6 +++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0003-Added-Python-3.4-3.7-language-classifiers.patch diff --git a/0003-Added-Python-3.4-3.7-language-classifiers.patch b/0003-Added-Python-3.4-3.7-language-classifiers.patch new file mode 100644 index 0000000..efb9426 --- /dev/null +++ b/0003-Added-Python-3.4-3.7-language-classifiers.patch @@ -0,0 +1,29 @@ +From b0ce05c2a9e6a3e1ff01c5cbd18f7806df5bf7d6 Mon Sep 17 00:00:00 2001 +From: Marcel Hellkamp +Date: Sat, 1 Dec 2018 18:26:43 +0100 +Subject: [PATCH] Added Python 3.4-3.7 language classifiers + +--- + setup.py | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 84ba762..a03d320 100755 +--- a/setup.py ++++ b/setup.py +@@ -36,8 +36,9 @@ setup(name='bottle', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', ++ 'Programming Language :: Python :: 3.4', ++ 'Programming Language :: Python :: 3.5', ++ 'Programming Language :: Python :: 3.6', ++ 'Programming Language :: Python :: 3.7', + ], + ) +- +- +- +-- +2.39.0.windows.2 + diff --git a/python-bottle.spec b/python-bottle.spec index b20e69b..269929b 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -1,6 +1,6 @@ Name: python-bottle Version: 0.12.13 -Release: 11 +Release: 12 Summary: WSGI micro web-framework for Python. License: MIT URL: http://bottlepy.org @@ -10,6 +10,7 @@ Patch0000: CVE-2020-28473.patch Patch0001: CVE-2022-31799.patch Patch0002: 0001-fix-1065-gevent-1.3.0-removes-fast-wsgi-implementati.patch Patch0003: 0002-Fix-930-DeprecationWarning-Flags-not-at-the-start-of.patch +Patch0004: 0003-Added-Python-3.4-3.7-language-classifiers.patch BuildArch: noarch BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools @@ -64,6 +65,9 @@ sed -i '/^#!/d' bottle.py %{python3_sitelib}/* %changelog +* Thu Nov 30 2023 zhangliangpengkun - 0.12.13-12 +- Added Python 3.4-3.7 language classifiers + * Wed Nov 22 2023 zhangliangpengkun - 0.12.13-11 - Fix #930: DeprecationWarning: Flags not at the start of the expression -- Gitee