!10 [sync] PR-8: Package /var/lib/booth where booth can chroot

From: @openeuler-sync-bot 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-03-16 12:06:28 +00:00 committed by Gitee
commit d5391f312d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,7 +4,7 @@
# Disable automatic compilation of Python files in extra directories
%global _python_bytecompile_extra 0
%global specver 4
%global specver 5
%global boothver 1.0
# set following to the actual commit or, for final release, concatenate
# "boothver" macro to "v" (will yield a tag per the convention)
@ -223,6 +223,8 @@ VERBOSE=1 make check
%dir %{_sysconfdir}/booth
%exclude %{_sysconfdir}/booth/booth.conf.example
%{_sysconfdir}/booth/booth.conf
%dir %attr (750, hacluster, haclient) %{_var}/lib/booth/
%dir %attr (750, hacluster, haclient) %{_var}/lib/booth/cores
%files arbitrator
%{_unitdir}/booth@.service
@ -252,6 +254,9 @@ VERBOSE=1 make check
/usr/lib/ocf/resource.d/booth/sharedrsc
%changelog
* Wed Mar 16 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0-5
- Package /var/lib/booth where booth can chroot
* Mon Feb 28 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0-4
- Fix booth@.service missing instance name.