fix setuptools_scm not found

(cherry picked from commit 5bb341b917a5d44e8ab3bc0b85b6e9b6b5c2e6f9)
This commit is contained in:
panchenbo 2024-03-19 17:44:35 +08:00 committed by openeuler-sync-bot
parent 6a626f6dab
commit 8478340c96

View File

@ -1,6 +1,6 @@
Name: pcs
Version: 0.11.7
Release: 4
Release: 5
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
@ -235,6 +235,7 @@ 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
@ -401,6 +402,9 @@ run_all_tests
%license pyagentx_LICENSE.txt
%changelog
* Tue Mar 19 2024 panchenbo <panchenbo@kylinsec.com.cn> - 0.11.7-5
- fix setuptools_scm not found
* Tue Mar 12 2024 zouzhimin <zouzhimin@kylinos.cn> - 0.11.7-4
- Fix pcsd ruby