From b27a8613f28338659e7ce4a8045450398a0b1a7bea0ad7c4e922f8f5d4aaf9af Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 3 Mar 2016 15:34:33 +0000 Subject: [PATCH] - After boo#968405 got fixed in /etc/rpm/macros.systemd, resurrect the old behavior of %postun (boo#968405). OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=122 --- xdm.changes | 6 ++++++ xdm.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/xdm.changes b/xdm.changes index 35c166b..8c89b74 100644 --- a/xdm.changes +++ b/xdm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 3 15:31:51 UTC 2016 - eich@suse.com + +- After boo#968405 got fixed in /etc/rpm/macros.systemd, resurrect the old + behavior of %postun (boo#968405). + ------------------------------------------------------------------- Sat Feb 27 11:53:42 UTC 2016 - eich@suse.com diff --git a/xdm.spec b/xdm.spec index ab17b9a..a1bd1c3 100644 --- a/xdm.spec +++ b/xdm.spec @@ -178,6 +178,9 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm %postun %if 0%{?suse_version} < 1315 %{insserv_cleanup} +%else +# Do not restart DM on update (bnc#886641) +%service_del_postun -f display-manager.service %endif %preun