update scriptlets, skip tests

- %%check: skip tests, seem to be hanging despite setting 10s timeout
- use %%ldconfig_scriptlets
epel9
Rex Dieter 7 years ago
parent 29333c6f19
commit 32cd905c68

@ -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 <rdieter@fedoraproject.org> - 17.12.3-1
* Mon Apr 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 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 <rdieter@fedoraproject.org> - 17.12.2-1
- 17.12.2

Loading…
Cancel
Save