From 5fdfcacfecdf8a8824dd9bfa248aeb25e088bdd1 Mon Sep 17 00:00:00 2001 From: cunshunxia Date: Wed, 31 Jan 2024 20:07:26 +0800 Subject: [PATCH] Upgrade to version 8.0.4 --- python-setuptools_scm.spec | 19 +++++++++++-------- sources | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 62f6182..a31983e 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -2,16 +2,16 @@ Summary: Blessed package to manage your versions by SCM tags Name: python-%{pypi_name} -Version: 7.1.0 -Release: 4%{?dist} +Version: 8.0.4 +Release: 1%{?dist} License: MIT URL: https://pypi.python.org/pypi/%{pypi_name} -Source0: %{pypi_source} +Source0: %{pypi_source setuptools-scm} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel pyproject-rpm-macros -BuildRequires: git-core mercurial +BuildRequires: git-core mercurial python3-pytest python3.11dist(build) %description %{pypi_name} extract Python package versions from git or hg metadata @@ -34,11 +34,11 @@ Summary: %{summary} instead of declaring them as the version argument or in a SCM managed file. %prep -%autosetup -p1 -n %{pypi_name}-%{version} +%autosetup -p1 -n setuptools-scm-%{version} %generate_buildrequires -%pyproject_buildrequires -e %{toxenv}-test +%pyproject_buildrequires %build @@ -51,18 +51,21 @@ instead of declaring them as the version argument or in a SCM managed file. %check -%tox -- -- -v -k 'not test_pip_download and not test_distlib_setuptools_works and not test_pyproject_support' +%pytest -v -k 'not test_pip_download and not test_pyproject_missing_setup_hook_works' %files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} %license LICENSE -%doc README.rst +%doc README.md %files -n python%{python3_pkgversion}-%{pypi_name}+toml %dir %{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ %changelog +* Wed Jan 31 2024 Upgrade Robot - 8.0.4-1 +- Upgrade to version 8.0.4 for python-setuptools 68. + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 7.1.0-4 - Rebuilt for python 3.11 diff --git a/sources b/sources index 26da367..98767d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (setuptools_scm-7.1.0.tar.gz) = bd7260672c213db6b8c5842dbb6ac69e69ce040777865c935033971f65d905bd8e6b54e174190a924e452c302e69d4c1de231cbc8f603176ba013a739840dad3 +SHA512 (setuptools-scm-8.0.4.tar.gz) = 1b584f20dfad115f379a97de9e96bb3b36ab00986381748c2f395facd26ce01a6556ccfbabeb8f0cf9ce8720b26ce3a00040dba02cc689701ccf1d31f13277da -- Gitee