diff --git a/rest.spec b/rest.spec index 1a86d94..1a2e2f8 100644 --- a/rest.spec +++ b/rest.spec @@ -51,9 +51,7 @@ make install DESTDIR=%{buildroot} INSTALL='install -p' #Remove libtool archives. find %{buildroot} -type f -name "*.la" -delete -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING