Update mime scriptlets

This commit is contained in:
Kalev Lember 2014-09-20 13:13:30 +02:00
parent e080f5e231
commit b3c8fcb5f8

View File

@ -1,6 +1,6 @@
Name: gcr
Version: 3.13.91
Release: 2%{?dist}
Release: 4%{?dist}
Summary: A library for bits of crypto UI and parsing
Group: Development/Libraries
@ -67,24 +67,25 @@ chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gcr-prompter
%post
/sbin/ldconfig
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
%postun
/sbin/ldconfig
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
/usr/bin/update-mime-database -n %{_datadir}/mime &> /dev/null || :
%files -f %{name}.lang
@ -129,6 +130,9 @@ fi
%changelog
* Sat Sep 20 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-4
- Update mime scriptlets
* Sun Sep 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-2
- Use system valgrind headers (#1141470)