From abaac0384f08ba74758f77d910cf98573f27d3e3 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 14 Apr 2018 08:13:25 -0500 Subject: [PATCH] .spec cleanup --- dolphin.spec | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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.*