From 9c8f1ff61e31c974498d412ccfe5ef2302084fd5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:22 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- xrdp.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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