Dominique Leuenberger 2018-04-26 11:22:37 +00:00 committed by Git OBS Bridge
commit cb8217360f
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

View File

@ -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.