From 99177df3b73d8340d2acc768cc3776d33fed6d03 Mon Sep 17 00:00:00 2001 From: jxy_git Date: Wed, 16 Mar 2022 17:17:46 +0800 Subject: [PATCH] Package /var/lib/booth where booth can chroot --- booth.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/booth.spec b/booth.spec index e0ecf25..87c1264 100644 --- a/booth.spec +++ b/booth.spec @@ -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 - 1.0-5 +- Package /var/lib/booth where booth can chroot + * Mon Feb 28 2022 jiangxinyu - 1.0-4 - Fix booth@.service missing instance name. -- Gitee