!27 Fix fence_virtd.service stop failed

From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2024-04-01 01:03:36 +00:00 committed by Gitee
commit 8017924afb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,7 +6,7 @@
Name: fence-agents
Summary: Set of unified programs capable of host isolation ("fencing")
Version: 4.12.1
Release: 1
Release: 2
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
URL: https://github.com/ClusterLabs/fence-agents
@ -117,6 +117,7 @@ BuildRequires: systemd-units
%setup -q -n %{name}-%{version}
# prevent compilation of something that won't get used anyway
sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
sed -i '/Requires=network.target/a Requires=libvirtd.service' agents/virt/fence_virtd.service.in
%build
export PYTHON="%{__python3}"
@ -1124,6 +1125,9 @@ are located on corosync cluster nodes.
%{_libdir}/fence-virt/cpg.so
%changelog
* Fri Mar 29 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.12.1-2
- Fix fence_virtd.service stop failed
* Tue Feb 27 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.12.1-1
- Update package to version 4.12.1