From a390a9a598ab829388744311451c920239b25f820ff803caee01950e48537889 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 11 Jun 2023 07:53:46 +0000 Subject: [PATCH] Accepting request 1091104 from home:dimstar:Factory - Do not call %stop_on_removal and %restart_on_update in %preun/%postun: those macros would require at least some %parameters and actually are the same as the already used %%service_del_preun and %service_del_postun. OBS-URL: https://build.opensuse.org/request/show/1091104 OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/xrdp?expand=0&rev=117 --- xrdp.changes | 8 ++++++++ xrdp.spec | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/xrdp.changes b/xrdp.changes index 16cf193..8a82c46 100644 --- a/xrdp.changes +++ b/xrdp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jun 6 14:19:55 UTC 2023 - Dominique Leuenberger + +- Do not call %stop_on_removal and %restart_on_update in + %preun/%postun: those macros would require at least some + %parameters and actually are the same as the already used + %%service_del_preun and %service_del_postun. + ------------------------------------------------------------------- Wed Mar 8 07:06:01 UTC 2023 - Yifan Jiang diff --git a/xrdp.spec b/xrdp.spec index 5d0088a..786f7ce 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -211,7 +211,6 @@ fi exit 0 %preun -%stop_on_removal %service_del_preun xrdp.service %service_del_preun xrdp-sesman.service @@ -219,7 +218,6 @@ exit 0 /sbin/ldconfig %service_del_postun xrdp.service %service_del_postun xrdp-sesman.service -%restart_on_update %post -n libpainter0 -p /sbin/ldconfig