From 66f9126d883e4dace1299787c9c04ea4a434e672 Mon Sep 17 00:00:00 2001 From: x30004928 Date: Tue, 19 Nov 2024 15:47:45 +0800 Subject: [PATCH] fix bug in classifiers --- backport-fix-bug-in-classifiers.patch | 29 +++++++++++++++++++++++++++ python-iniparse.spec | 12 +++++++++-- 2 files changed, 39 insertions(+), 2 deletions(-) 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..70371c1 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 +License: MIT AND Python-2.0 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,12 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib} %exclude %{_docdir}/iniparse-%{version}/ %changelog + +* Tue Nov 19 2024 xiangyuning - 0.5-2 +- ID:NA +- SUG:NA +- DESC:fix bug in classifiers + * Wed Jul 29 2020 tianwei - 0.5-1 - Type:enhancement - ID:NA -- Gitee