From 86d96488700812d41be011c92d60c4999018629a9c99eabe1612f3fe1a99c9f3 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 24 Apr 2018 09:30:47 +0000 Subject: [PATCH] Accepting request 600356 from home:michalsrb:branches:X11:XOrg - Reload firewalld files after installation. OBS-URL: https://build.opensuse.org/request/show/600356 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=139 --- tigervnc.changes | 5 +++++ tigervnc.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/tigervnc.changes b/tigervnc.changes index 7512845..e376553 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 24 09:16:59 UTC 2018 - msrb@suse.com + +- Reload firewalld files after installation. + ------------------------------------------------------------------- Wed Apr 11 09:48:51 UTC 2018 - jengelh@inai.de diff --git a/tigervnc.spec b/tigervnc.spec index 98a4731..021087e 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -154,6 +154,9 @@ Requires(post): /usr/sbin/useradd Requires(post): /usr/sbin/groupadd Requires(post): /bin/awk Requires(post): systemd +%if %{use_firewalld} +Requires(post): firewall-macros +%endif # Needed to generate certificates Requires: openssl Requires: windowmanager @@ -366,6 +369,10 @@ usermod -G shadow -a %{vncuser} || : %post -n xorg-x11-Xvnc %service_add_post xvnc.socket +%if %{use_firewalld} +%{firewalld_reload} +%endif + # If there is old xinetd configuration file and VNC service was enabled, enable the systemd service too. # Once we are done, RPM will rename the file to /etc/xinetd.d/vnc.rpmsave, so this won't happen # during future updates.