From ee7c9f37385b073b1102d69ec882b47ed77e326e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:00 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libotf.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libotf.spec b/libotf.spec index f3c401a..f1a6dfe 100644 --- a/libotf.spec +++ b/libotf.spec @@ -50,9 +50,7 @@ for file in $RPM_BUILD_ROOT/usr/bin/*; do chrpath -d $file || true; done (cd example && make clean && rm -rf .deps && rm Makefile) rm $RPM_BUILD_ROOT/usr/bin/libotf-config -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files