diff --git a/libimobiledevice.spec b/libimobiledevice.spec index 7dbd59b..258bf8f 100644 --- a/libimobiledevice.spec +++ b/libimobiledevice.spec @@ -70,9 +70,7 @@ make install DESTDIR=%{buildroot} #Remove libtool archives. find %{buildroot} -type f -name "*.la" -delete -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc}