From a8fa54f523a0ffe6cbe8218a4aedbd8e74aad4f7 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Thu, 17 Jul 2025 12:35:10 +0800 Subject: [PATCH] Fix extra package toml and rich missing --- python-setuptools_scm.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index ded064b..3c6dd89 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-setuptools_scm Version: 8.3.1 -Release: 1 +Release: 2 Summary: Manage your Python package versions in SCM metadata License: MIT URL: https://pypi.python.org/pypi/setuptools_scm/ @@ -11,6 +11,9 @@ BuildRequires: python3-tomli python3-packaging python3-pip python3-wheel BuildArch: noarch Requires: python3-setuptool Requires: python3-toml +Requires: python3-rich + +%python_extras_subpkg -n python3-setuptools_scm -i %{python3_sitelib}/setuptools_scm-*.dist-info toml,rich %description setuptools_scm handles managing your Python package versions in SCM metadata @@ -35,6 +38,7 @@ setuptools_scm handles managing your Python package versions in SCM metadata instead of declaring them as the version argument or in a SCM managed file. It also handles file finders for the supported SCMs. + %prep %autosetup -n setuptools_scm-%{version} @@ -56,6 +60,9 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %{_pkgdocdir} %changelog +* Thu Jul 17 2025 Dongxing Wang - 8.3.1-2 +- Fix extra package toml and rich missing + * Thu May 29 2025 Dongxing Wang - 8.3.1-1 - Update package to version 8.3.1 -- Gitee