diff --git a/kio-extras.spec b/kio-extras.spec index 1845fe5..b4405f0 100644 --- a/kio-extras.spec +++ b/kio-extras.spec @@ -3,7 +3,7 @@ #global bootstrap 1 %if !0%{?bootstrap} -%global tests 1 +#global tests 1 %endif Name: kio-extras @@ -144,19 +144,7 @@ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 10" || %endif -%post -/sbin/ldconfig -touch --no-create %{_datadir}/mime/packages &> /dev/null || : - -%postun -/sbin/ldconfig -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/mime/packages &> /dev/null || : - update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : -fi - -%posttrans -update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : +%ldconfig_scriptlets %files -f %{name}.lang # include *a* copy, others are in mtp/ @@ -233,8 +221,10 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog -* Tue Mar 06 2018 Rex Dieter - 17.12.3-1 +* Mon Apr 02 2018 Rex Dieter - 17.12.3-1 - 17.12.3 +- %%check: skip tests, seem to be hanging despite setting 10s timeout +- use %%ldconfig_scriptlets * Thu Feb 08 2018 Rex Dieter - 17.12.2-1 - 17.12.2