[PATCH] rpm: fix typo in daemon name in %post/%preun scripts

Daniel P. Berrangé posted 1 patch 2 years, 4 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20211214161732.3393280-1-berrange@redhat.com
libvirt.spec.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] rpm: fix typo in daemon name in %post/%preun scripts
Posted by Daniel P. Berrangé 2 years, 4 months ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 libvirt.spec.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 32b4243d0a..97030be407 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1297,7 +1297,7 @@ exit 0
 
 %post daemon
 %libvirt_daemon_systemd_post virtlogd
-%libvirt_daemon_systemd_post virtlockdd
+%libvirt_daemon_systemd_post virtlockd
 %if %{with_modular_daemons}
 %libvirt_daemon_systemd_post_inet virtproxyd
 %else
@@ -1314,7 +1314,7 @@ exit 0
 %libvirt_daemon_systemd_preun_inet libvirtd
 %libvirt_daemon_systemd_preun_inet virtproxyd
 %libvirt_daemon_systemd_preun virtlogd
-%libvirt_daemon_systemd_preun virtlockdd
+%libvirt_daemon_systemd_preun virtlockd
 
 %postun daemon
 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-- 
2.33.1

Re: [PATCH] rpm: fix typo in daemon name in %post/%preun scripts
Posted by Jiri Denemark 2 years, 4 months ago
On Tue, Dec 14, 2021 at 16:17:32 +0000, Daniel P. Berrangé wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  libvirt.spec.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 32b4243d0a..97030be407 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -1297,7 +1297,7 @@ exit 0
>  
>  %post daemon
>  %libvirt_daemon_systemd_post virtlogd
> -%libvirt_daemon_systemd_post virtlockdd
> +%libvirt_daemon_systemd_post virtlockd
>  %if %{with_modular_daemons}
>  %libvirt_daemon_systemd_post_inet virtproxyd
>  %else
> @@ -1314,7 +1314,7 @@ exit 0
>  %libvirt_daemon_systemd_preun_inet libvirtd
>  %libvirt_daemon_systemd_preun_inet virtproxyd
>  %libvirt_daemon_systemd_preun virtlogd
> -%libvirt_daemon_systemd_preun virtlockdd
> +%libvirt_daemon_systemd_preun virtlockd
>  
>  %postun daemon
>  /bin/systemctl daemon-reload >/dev/null 2>&1 || :

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>