From bd4413d0fce2abd6d1f25d1a4953ce6a68f131fa Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:45 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- cryptsetup.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cryptsetup.spec b/cryptsetup.spec index 797c566..e19e44e 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -163,9 +163,7 @@ popd %endif %find_lang cryptsetup -%post -n cryptsetup-libs -p /sbin/ldconfig - -%postun -n cryptsetup-libs -p /sbin/ldconfig +%ldconfig_scriptlets -n cryptsetup-libs %files %{!?_licensedir:%global license %%doc}