From 1dadf64b03be8730ac834d92ec38399a468c9661 Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Tue, 9 Aug 2022 10:05:44 +0200 Subject: [PATCH] - Related: rhbz#2111669 - Remove template unit from systemd_(post|preun|postun_with_restart) macro Signed-off-by: Jan Friesse --- booth.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/booth.spec b/booth.spec index c22c0d0..57843b1 100644 --- a/booth.spec +++ b/booth.spec @@ -31,7 +31,7 @@ %global git_describe_str v1.0-251-gbfb2f924c07db823f5c934d1aafbc5181bb25148 # Set this to 1 when rebasing (changing git_describe_str) and increase otherwise -%global release 3 +%global release 4 # Run shell script to parse git_describe str into version, numcomm and sha1 hash %global booth_ver %(s=%{git_describe_str}; vver=${s%%%%-*}; echo ${vver:1}) @@ -146,13 +146,13 @@ Support for running Booth, ticket manager for multi-site clusters, as an arbitrator. %post arbitrator -%systemd_post booth@.service booth-arbitrator.service +%systemd_post booth-arbitrator.service %preun arbitrator -%systemd_preun booth@.service booth-arbitrator.service +%systemd_preun booth-arbitrator.service %postun arbitrator -%systemd_postun_with_restart booth@.service booth-arbitrator.service +%systemd_postun_with_restart booth-arbitrator.service %package site Summary: Booth support for running as a full-fledged site @@ -312,6 +312,11 @@ VERBOSE=1 make check %{_usr}/lib/ocf/resource.d/booth/sharedrsc %changelog +* Tue Aug 09 2022 Jan Friesse - 1.0-251.4.bfb2f92.git +- Related: rhbz#2111669 + +- Remove template unit from systemd_(post|preun|postun_with_restart) macro + * Wed Aug 03 2022 Jan Friesse - 1.0-251.3.bfb2f92.git - Resolves: rhbz#2111669