From c70dd935ae1dc99e36f75c2de31eb6a9bab0ee0a Mon Sep 17 00:00:00 2001 From: zhangruifang2020 Date: Mon, 24 Oct 2022 13:58:42 +0800 Subject: [PATCH] fix bug in classifiers --- backport-fix-bug-in-classifiers.patch | 29 +++++++++++++++++++++++++++ python-iniparse.spec | 7 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 backport-fix-bug-in-classifiers.patch diff --git a/backport-fix-bug-in-classifiers.patch b/backport-fix-bug-in-classifiers.patch new file mode 100644 index 0000000..e24d638 --- /dev/null +++ b/backport-fix-bug-in-classifiers.patch @@ -0,0 +1,29 @@ +From fdc577c9471b801040ded53b379ae8e56c43699e Mon Sep 17 00:00:00 2001 +From: Jiri Hnidek +Date: Wed, 29 Jan 2020 15:34:46 +0100 +Subject: [PATCH] Fix bug in classifiers. + +--- + setup.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 92a0761..ff567a2 100644 +--- a/setup.py ++++ b/setup.py +@@ -28,8 +28,10 @@ use.''', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', +- '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', ++ 'Programming Language :: Python :: 3.8', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + packages = ['iniparse'], +-- +2.27.0 + diff --git a/python-iniparse.spec b/python-iniparse.spec index bf584fc..a3e770f 100644 --- a/python-iniparse.spec +++ b/python-iniparse.spec @@ -3,12 +3,14 @@ Name: python-iniparse Version: 0.5 -Release: 1 +Release: 2 Summary: Python Module for Accessing and Modifying Configuration Data in INI files License: MIT and PSF URL: https://github.com/candlepin/python-iniparse Source0: https://files.pythonhosted.org/packages/source/i/iniparse/iniparse-%{version}.tar.gz +Patch0: backport-fix-bug-in-classifiers.patch + BuildArch: noarch %description @@ -56,6 +58,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib} %exclude %{_docdir}/iniparse-%{version}/ %changelog +* Mon Oct 24 2022 zhangruifang - 0.5-2 +- fix bug in classifiers + * Wed Jul 29 2020 tianwei - 0.5-1 - Type:enhancement - ID:NA -- Gitee