Clean the spec file.
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=123
This commit is contained in:
parent
2d1766594e
commit
a8eeea25f1
@ -172,11 +172,6 @@ BuildArch: noarch
|
||||
A service that starts noVNC linked to Xvnc server.
|
||||
|
||||
%package -n xorg-x11-Xvnc-java
|
||||
# Needed to serve java applet
|
||||
# Requires: python
|
||||
# Requires: python-pyOpenSSL
|
||||
|
||||
# TODO: Requires?
|
||||
BuildArch: noarch
|
||||
|
||||
%{?systemd_requires}
|
||||
@ -338,7 +333,6 @@ fi
|
||||
%endif
|
||||
|
||||
%pre -n xorg-x11-Xvnc
|
||||
# %service_add_pre xvnc@.service
|
||||
%service_add_pre xvnc.socket
|
||||
|
||||
getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} || :
|
||||
@ -346,15 +340,12 @@ getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/em
|
||||
usermod -G shadow -a %{vncuser} || :
|
||||
|
||||
%post -n xorg-x11-Xvnc
|
||||
# %service_add_post xvnc@.service
|
||||
%service_add_post xvnc.socket
|
||||
|
||||
%preun -n xorg-x11-Xvnc
|
||||
# %service_del_preun xvnc@.service
|
||||
%service_del_preun xvnc.socket
|
||||
|
||||
%postun -n xorg-x11-Xvnc
|
||||
# %service_del_postun xvnc@.service
|
||||
%service_del_postun xvnc.socket
|
||||
|
||||
%pre -n xorg-x11-Xvnc-novnc
|
||||
|
Loading…
Reference in New Issue
Block a user