SHA256
1
0
forked from pool/tigervnc

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
This commit is contained in:
Michal Srb 2018-04-24 09:30:47 +00:00 committed by Git OBS Bridge
parent 498e01032c
commit 86d9648870
2 changed files with 12 additions and 0 deletions

View File

@ -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 Wed Apr 11 09:48:51 UTC 2018 - jengelh@inai.de

View File

@ -154,6 +154,9 @@ Requires(post): /usr/sbin/useradd
Requires(post): /usr/sbin/groupadd Requires(post): /usr/sbin/groupadd
Requires(post): /bin/awk Requires(post): /bin/awk
Requires(post): systemd Requires(post): systemd
%if %{use_firewalld}
Requires(post): firewall-macros
%endif
# Needed to generate certificates # Needed to generate certificates
Requires: openssl Requires: openssl
Requires: windowmanager Requires: windowmanager
@ -366,6 +369,10 @@ usermod -G shadow -a %{vncuser} || :
%post -n xorg-x11-Xvnc %post -n xorg-x11-Xvnc
%service_add_post xvnc.socket %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. # 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 # Once we are done, RPM will rename the file to /etc/xinetd.d/vnc.rpmsave, so this won't happen
# during future updates. # during future updates.