[PATCH 23/23] tuna: Fix pyproject.toml build issues

John Kacur
2025-11-07T18:58:24Z

- Add https:// scheme to Source URL in pyproject.toml
- Remove long_description from setup.py to avoid conflict with pyproject.toml
- This fixes the build error with pyproject-rpm-macros

Signed-off-by: John Kacur <jkacur@redhat.com>
---
pyproject.toml | 2 +-
setup.py | 6 ------
2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 95ec65c55195..f0caac6df053 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -32,7 +32,7 @@ classifiers = [

[project.urls]
Homepage = "https://www.kernel.org/pub/software/utils/tuna"
-Source = "git.kernel.org/pub/scm/utils/tuna/tuna.git/"
+Source = "https://git.kernel.org/pub/scm/utils/tuna/tuna.git/"

[project.scripts]
tuna = "tuna.tuna:main"
diff --git a/setup.py b/setup.py
index b85673056c9f..a40f29ef3817 100755
--- a/setup.py
+++ b/setup.py
@@ -27,11 +27,5 @@ setup(name="tuna",
"Source": "git.kernel.org/pub/scm/utils/tuna/tuna.git/",
},
license = "GPLv2",
- long_description =
-"""\
-Provides interface for changing scheduler and IRQ tunables, at whole CPU and at per
-thread/IRQ level. Allows isolating CPUs for use by a specific application and moving
-threads and interrupts to a CPU by just dragging and dropping them.
-""",
packages = ["tuna", "tuna/gui"],
)
--
2.51.1