Package /var/lib/booth where booth can chroot

(cherry picked from commit 99177df3b73d8340d2acc768cc3776d33fed6d03)
This commit is contained in:
jxy_git 2022-03-16 17:17:46 +08:00 committed by openeuler-sync-bot
parent 53d91f2c51
commit 6556ca05bf

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.