From 61e31d24e3ad5d764ff65be7cb22ff6021b1b4b2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:15 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libwebsockets.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libwebsockets.spec b/libwebsockets.spec index 72dc773..63d5a2c 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -68,9 +68,7 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' find %{buildroot} -name '*.cmake' -exec rm -f {} ';' find %{buildroot} -name '*_static.pc' -exec rm -f {} ';' -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc README.md changelog