diff --git a/xrdp.spec b/xrdp.spec index 3272732..2d1ab75 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -53,7 +53,6 @@ Requires(post): systemd-sysv Requires(post): /sbin/ldconfig Requires(posttrans): openssl Requires(preun): systemd -Requires(postun): /sbin/ldconfig Requires(posttrans): systemd @@ -160,9 +159,7 @@ if [ "`systemctl is-active xrdp.service`" = 'active' ]; then systemctl start xrdp.service >/dev/null 2>&1 || : fi -%postun -: -%{?ldconfig} +%ldconfig_postun %posttrans if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then