From 146d8634f372620f6cf24dc0124191bcebecd3061084346258c6bbad783366b0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 24 Oct 2023 12:01:28 +0000 Subject: [PATCH] - add setuptools_scm for proper version detection OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=59 --- python-argcomplete.changes | 5 +++++ python-argcomplete.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-argcomplete.changes b/python-argcomplete.changes index 1207634..9063924 100644 --- a/python-argcomplete.changes +++ b/python-argcomplete.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 24 12:01:08 UTC 2023 - Dirk Müller + +- add setuptools_scm for proper version detection + ------------------------------------------------------------------- Thu Oct 5 08:46:50 UTC 2023 - Dirk Müller diff --git a/python-argcomplete.spec b/python-argcomplete.spec index c4f1611..a6c6918 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -33,7 +33,8 @@ Patch3: bash-repl.patch BuildRequires: %{python_module coverage} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools >= 67.7.2} +BuildRequires: %{python_module setuptools_scm >= 6.2} BuildRequires: %{python_module wheel} BuildRequires: ca-certificates BuildRequires: fdupes @@ -93,7 +94,7 @@ export LANG=en_US.UTF-8 %files %{python_files} %doc README.rst %license LICENSE.rst -%{python_sitelib}/argcomplete-*-info +%{python_sitelib}/argcomplete-%{version}*-info %{python_sitelib}/argcomplete %python_alternative %{_bindir}/python-argcomplete-check-easy-install-script %python_alternative %{_bindir}/register-python-argcomplete