From 644edb454cd7813f085aa06899d93ca0f6d2fc0e Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 23 Sep 2020 08:43:06 +0200 Subject: [PATCH] Call systemd macros on correct service file --- tigervnc.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tigervnc.spec b/tigervnc.spec index d8f727d..be02fd2 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -1,6 +1,6 @@ Name: tigervnc Version: 1.11.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A TigerVNC remote display system %global _hardened_build 1 @@ -242,15 +242,15 @@ mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/ install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.conf %post server -%systemd_post xvnc.service +%systemd_post xvnc@.service %systemd_post xvnc.socket %preun server -%systemd_preun xvnc.service +%systemd_preun xvnc@.service %systemd_preun xvnc.socket %postun server -%systemd_postun xvnc.service +%systemd_postun xvnc@.service %systemd_postun xvnc.socket %pre selinux @@ -315,6 +315,9 @@ fi %{_datadir}/selinux/packages/vncsession.pp %changelog +* Wed Sep 23 2020 Jan Grulich - 1.11.0-4 +- Call systemd macros on correct service file + * Tue Sep 22 2020 Jan Grulich - 1.11.0-3 - Do not overwrite libvnc.conf config file