diff --git a/jose.spec b/jose.spec index 61a455d..6e7e4c7 100644 --- a/jose.spec +++ b/jose.spec @@ -61,8 +61,7 @@ rm -rf %{buildroot}/%{_libdir}/lib%{name}.la %check make %{?_smp_mflags} check -%post -n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name} %files %{_bindir}/%{name}