!13 [sync] PR-9: Fix license classifier in pyproject.toml

From: @openeuler-sync-bot 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2024-11-13 02:11:51 +00:00 committed by Gitee
commit 757c6399b6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 31 additions and 1 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pytest-metadata Name: python-pytest-metadata
Version: 3.0.0 Version: 3.0.0
Release: 1 Release: 2
Summary: pytest plugin for test session metadata Summary: pytest plugin for test session metadata
License: MPL-2.0 License: MPL-2.0
URL: https://github.com/pytest-dev/pytest-metadata 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-pip python3-wheel python3-hatchling python3-hatch-vcs
BuildRequires: python3-pbr BuildRequires: python3-pbr
Requires: python3-pytest Requires: python3-pytest
Patch0001: 0001-Fix-license-classifier-in-pyproject.toml.patch
%description -n python3-pytest-metadata %description -n python3-pytest-metadata
pytest plugin for test session metadata pytest plugin for test session metadata
%package help %package help
Summary: Development documents and examples for pytest-metadata Summary: Development documents and examples for pytest-metadata
Provides: python3-pytest-metadata-doc Provides: python3-pytest-metadata-doc
@ -49,6 +51,9 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue May 7 2024 tenglei <tenglei@kylinos.cn> - 3.0.0-2
- Fix license classifier in pyproject.toml
* Wed Jun 21 2023 chendexi <chendexi@kylinos.cn> - 3.0.0-1 * Wed Jun 21 2023 chendexi <chendexi@kylinos.cn> - 3.0.0-1
- Update package to version 3.0.0 - Update package to version 3.0.0