diff --git a/cmocka.spec b/cmocka.spec index e59be6f..7de7faa 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -104,9 +104,7 @@ make DESTDIR=%{buildroot} install popd ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so -%post -n libcmocka -p /sbin/ldconfig - -%postun -n libcmocka -p /sbin/ldconfig +%ldconfig_scriptlets -n libcmocka %check pushd obj