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