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
This commit is contained in:
2023-06-11 07:53:46 +00:00
committed by Git OBS Bridge
parent e069a31ed8
commit a390a9a598
2 changed files with 8 additions and 2 deletions

View File

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