From 9d9428eb6423e91a7b7a39dfc9bc561de7736acf Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:02 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libpreludedb.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libpreludedb.spec b/libpreludedb.spec index 049a9b3..e1b7ec0 100644 --- a/libpreludedb.spec +++ b/libpreludedb.spec @@ -148,8 +148,7 @@ chmod +x %{buildroot}%{_datadir}/%{name}/classic/mysql2sqlite.sh #%check #%make_build check -%post -n %{name} -p /sbin/ldconfig -%postun -n %{name} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{name} %files %{_libdir}/%{name}.so.%{major}