diff --git a/dolphin.spec b/dolphin.spec index 4b9ae9a..777c7cd 100644 --- a/dolphin.spec +++ b/dolphin.spec @@ -97,7 +97,7 @@ pushd %{_target_platform} -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} popd -make %{?_smp_mflags} -C %{_target_platform} +%make_build -C %{_target_platform} %install @@ -116,14 +116,6 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %endif -%posttrans -update-desktop-database -q &> /dev/null ||: - -%postun -if [ $1 -eq 0 ] ; then -update-desktop-database -q &> /dev/null ||: -fi - %files -f dolphin.lang %license COPYING* %doc README @@ -141,8 +133,7 @@ fi #{_kf5_datadir}/kxmlgui5/%{name}/ %lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/dolphin/ -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files libs %{_kf5_libdir}/libdolphinprivate.so.*