- replaced 'Also=' by 'Alias=' in display-manager.service
(bnc#890413) - make sure not to restart DM on package update; remove confusing comment about no longer existing %%stop_on_removal, %restart_on_update macros from specfile (bnc#886641) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=82
This commit is contained in:
parent
636afa1531
commit
706455a7b1
@ -15,4 +15,4 @@ KillMode=process
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
Also=xdm.service
|
||||
Alias=xdm.service
|
||||
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 5 14:48:30 UTC 2014 - sndirsch@suse.com
|
||||
|
||||
- replaced 'Also=' by 'Alias=' in display-manager.service
|
||||
(bnc#890413)
|
||||
- make sure not to restart DM on package update; remove confusing
|
||||
comment about no longer existing %%stop_on_removal,
|
||||
%restart_on_update macros from specfile (bnc#886641)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 14:32:21 UTC 2014 - sndirsch@suse.com
|
||||
|
||||
|
7
xdm.spec
7
xdm.spec
@ -153,11 +153,6 @@ cat > %{buildroot}%{_sbindir}/rcxdm <<-'EOF'
|
||||
chmod 0755 %{buildroot}%{_sbindir}/rcxdm
|
||||
%endif
|
||||
|
||||
# Note:
|
||||
# no %%stop_on_removal in %%preun
|
||||
# no %%restart_on_update in %%postun
|
||||
# => we don't want to end an existing session
|
||||
|
||||
%post
|
||||
%if 0%{?suse_version} < 1320
|
||||
%{fillup_and_insserv -Y xdm}
|
||||
@ -175,6 +170,8 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm
|
||||
%if 0%{?suse_version} < 1320
|
||||
%{insserv_cleanup}
|
||||
%else
|
||||
# Do not restart DM on update (bnc#886641)
|
||||
export DISABLE_RESTART_ON_UPDATE=yes
|
||||
%service_del_postun display-manager.service
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user