From d285d654b78c52d842d3ccbadcc27a2b46c81532 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sep 23 2023 20:36:18 +0000 Subject: Fix incorrect version in python3.12dist and python3dist - Tag git tree so Python build correctly determines version --- diff --git a/python-lsp-server.spec b/python-lsp-server.spec index e7d2ac3..d5398b0 100644 --- a/python-lsp-server.spec +++ b/python-lsp-server.spec @@ -46,6 +46,7 @@ Requires: python3dist(yapf) %prep %autosetup -p1 -n %{name}-%{version} -S git +git tag v%{version} %generate_buildrequires %pyproject_buildrequires -x test,all