From fee85fbf2790ed835e5166e48cd1e4f95ad1227c224b7b8cbe2fce37171ef3d3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 19 May 2023 07:23:17 +0000 Subject: [PATCH] - build with setuptools_scm - build for PSP on sle15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncclick?expand=0&rev=5 --- python-asyncclick.changes | 6 ++++++ python-asyncclick.spec | 9 ++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-asyncclick.changes b/python-asyncclick.changes index ff8b87d..65db820 100644 --- a/python-asyncclick.changes +++ b/python-asyncclick.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 19 07:22:49 UTC 2023 - Dirk Müller + +- build with setuptools_scm +- build for PSP on sle15 + ------------------------------------------------------------------- Thu Oct 27 21:44:24 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-asyncclick.spec b/python-asyncclick.spec index 33f0e52..64de0be 100644 --- a/python-asyncclick.spec +++ b/python-asyncclick.spec @@ -1,7 +1,7 @@ # # spec file for package python-asyncclick # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,7 @@ # -%define oldpython python -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-asyncclick Version: 8.1.3.4 Release: 0 @@ -32,6 +30,7 @@ BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module click} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module trio} BuildRequires: %{python_module wheel} @@ -67,6 +66,6 @@ export LANG=en_US.UTF-8 %license LICENSE.rst %doc CHANGES.rst README.rst %{python_sitelib}/asyncclick -%{python_sitelib}/asyncclick-*.dist-info/ +%{python_sitelib}/asyncclick-%{version}.dist-info/ %changelog