From 5d3dda1a4c0a44dac79497d58cb9b4570483233a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:39 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- papi.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/papi.spec b/papi.spec index 69d5708..b8aef78 100644 --- a/papi.spec +++ b/papi.spec @@ -135,8 +135,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so* %doc INSTALL.txt README LICENSE.txt RELEASENOTES.txt %doc %{_mandir}/man1/* -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files libs %{_libdir}/*.so.*