restore setuptools-scm name to adapt setuptools-68.0.0

With setuptools-68.0.0, the pip name would be setuptools-scm,
and with 69.1.0, it's named setuptools_scm. To adapt 68.0.0,
remove changes in the configure.ac.

Signed-off-by: laokz <zhangkai@iscas.ac.cn>
This commit is contained in:
laokz 2024-04-22 07:39:59 +00:00 committed by Gitee
parent c1989dbee7
commit aa8c0ad426
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: pcs
Version: 0.11.7
Release: 9
Release: 10
License: GPL-2.0-only AND Apache-2.0 AND MIT AND BSD-3-Clause AND (BSD-2-Clause OR Ruby) AND (BSD-2-Clause OR GPL-2.0-or-later)
URL: https://github.com/ClusterLabs/pcs
Group: System Environment/Base
@ -239,7 +239,6 @@ update_times_patch(){
%autopatch -p1 -m 0
# update_times_patch %%{PATCH0}
update_times_patch %{PATCH0}
sed -i "s/setuptools-scm/setuptools_scm/g" configure.ac
# generate .tarball-version if building from an untagged commit, not a released version
# autogen uses git-version-gen which uses .tarball-version for generating version number
@ -406,6 +405,9 @@ run_all_tests
%license pyagentx_LICENSE.txt
%changelog
* Mon Apr 22 2024 laokz <zhangkai@iscas.ac.cn> - 0.11.7-10
- restore setuptools-scm name to adapt setuptools-68.0.0
* Tue Mar 26 2024 zouzhimin <zouzhimin@kylinos.cn> - 0.11.7-9
- Add dtos for resources status