setools/0001-pyproject.toml-fix-license-field.patch
Vit Mojzis 9daa6399da SETools 4.7.0
- Add MCP server to provide LLMs the ability to analyze policy.

Note: adding dependency on the freshly rebased userspace (3.11)

Resolves: RHEL-188035
2026-07-11 21:27:37 +02:00

38 lines
1.2 KiB
Diff

From a5579c77fb85542ca588519e3910180b387c3df6 Mon Sep 17 00:00:00 2001
From: Vit Mojzis <vmojzis@redhat.com>
Date: Fri, 10 Jul 2026 23:39:20 +0200
Subject: [PATCH] pyproject.toml: fix license field
Fixes:
ValueError: invalid pyproject.toml config: `project.license`.
configuration error: `project.license` must be valid exactly by one definition (2 matches found):
- keys:
'file': {type: string}
required: ['file']
- keys:
'text': {type: string}
required: ['text']
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
---
pyproject.toml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 29649f1..9cf0e13 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,8 +9,7 @@ name = "setools"
version = "4.7.0"
description="SELinux policy analysis tools."
authors = [{name = "Chris PeBenito", email="pebenito@ieee.org"}]
-license = "LGPL-2.1-only AND GPL-2.0-only"
-license-files = ["COPYING*"]
+license = {text = "LGPL-2.1-only AND GPL-2.0-only"}
readme = {file = "README.md", content-type = "text/markdown"}
urls.Homepage = "https://github.com/SELinuxProject/setools"
urls.Repository = "https://github.com/SELinuxProject/setools.git"
--
2.53.0