.spec cleanup

epel9
Rex Dieter 7 years ago
parent c1ec6341fe
commit abaac0384f

@ -97,7 +97,7 @@ pushd %{_target_platform}
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
popd popd
make %{?_smp_mflags} -C %{_target_platform} %make_build -C %{_target_platform}
%install %install
@ -116,14 +116,6 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
%endif %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 %files -f dolphin.lang
%license COPYING* %license COPYING*
%doc README %doc README
@ -141,8 +133,7 @@ fi
#{_kf5_datadir}/kxmlgui5/%{name}/ #{_kf5_datadir}/kxmlgui5/%{name}/
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/dolphin/ %lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/dolphin/
%post libs -p /sbin/ldconfig %ldconfig_scriptlets libs
%postun libs -p /sbin/ldconfig
%files libs %files libs
%{_kf5_libdir}/libdolphinprivate.so.* %{_kf5_libdir}/libdolphinprivate.so.*

Loading…
Cancel
Save