From 272ff57cbc44124fcf4e315958ba8a10391b5b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=95=E7=A3=8A?= Date: Wed, 8 May 2024 17:37:45 +0800 Subject: [PATCH] Fix license classifier in pyproject.toml (cherry picked from commit 12b0cfd7ad90c190e512a41b1769e99d0dd00b2f) --- ...license-classifier-in-pyproject.toml.patch | 25 +++++++++++++++++++ python-pytest-metadata.spec | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-license-classifier-in-pyproject.toml.patch diff --git a/0001-Fix-license-classifier-in-pyproject.toml.patch b/0001-Fix-license-classifier-in-pyproject.toml.patch new file mode 100644 index 0000000..c1c920a --- /dev/null +++ b/0001-Fix-license-classifier-in-pyproject.toml.patch @@ -0,0 +1,25 @@ +From cfbd063cc36a3ff483e3c22533e2ae2d057ac47d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E6=BB=95=E7=A3=8A?= Diego Jorquera +Date: Wed, 8 May 2024 17:21:51 +0800 +Subject: [PATCH] Fix license classifier in pyproject.toml + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 85bdc78..f5ef8f3 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -23,7 +23,7 @@ classifiers = [ + "Development Status :: 5 - Production/Stable", + "Framework :: Pytest", + "Intended Audience :: Developers", +- "License :: OSI Approved :: MIT License", ++ "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", + "Natural Language :: English", + "Operating System :: POSIX", + "Operating System :: Microsoft :: Windows", +-- +2.43.0 + diff --git a/python-pytest-metadata.spec b/python-pytest-metadata.spec index 3117a19..41e418f 100644 --- a/python-pytest-metadata.spec +++ b/python-pytest-metadata.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-metadata Version: 3.0.0 -Release: 1 +Release: 2 Summary: pytest plugin for test session metadata License: MPL-2.0 URL: https://github.com/pytest-dev/pytest-metadata @@ -18,10 +18,12 @@ BuildRequires: python3-devel BuildRequires: python3-pip python3-wheel python3-hatchling python3-hatch-vcs BuildRequires: python3-pbr Requires: python3-pytest +Patch0001: 0001-Fix-license-classifier-in-pyproject.toml.patch %description -n python3-pytest-metadata pytest plugin for test session metadata + %package help Summary: Development documents and examples for pytest-metadata Provides: python3-pytest-metadata-doc @@ -49,6 +51,9 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi %{_docdir}/* %changelog +* Tue May 7 2024 tenglei - 3.0.0-2 +- Fix license classifier in pyproject.toml + * Wed Jun 21 2023 chendexi - 3.0.0-1 - Update package to version 3.0.0