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.*