update mime scriptlet

This commit is contained in:
Rex Dieter 2014-08-12 11:37:35 -05:00
parent 9c0201ab75
commit 82daf4bf69

View File

@ -11,7 +11,7 @@
Name: nautilus Name: nautilus
Summary: File manager for GNOME Summary: File manager for GNOME
Version: 3.13.2 Version: 3.13.2
Release: 5%{?dist} Release: 6%{?dist}
License: GPLv2+ License: GPLv2+
Group: User Interface/Desktops Group: User Interface/Desktops
Source: http://download.gnome.org/sources/%{name}/3.13/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/%{name}/3.13/%{name}-%{version}.tar.xz
@ -124,15 +124,18 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
%find_lang %name %find_lang %name
%post %post
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null touch --no-create %{_datadir}/mime/packages &> /dev/null || :
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
update-mime-database -n %{_datadir}/mime &> /dev/null || :
fi fi
%posttrans %posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
update-mime-database -n %{_datadir}/mime &> /dev/null || :
%post extensions -p /sbin/ldconfig %post extensions -p /sbin/ldconfig
@ -171,6 +174,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%doc %{_datadir}/gtk-doc/html/libnautilus-extension/ %doc %{_datadir}/gtk-doc/html/libnautilus-extension/
%changelog %changelog
* Tue Aug 12 2014 Rex Dieter <rdieter@fedoraproject.org> 3.13.2-6
- update mime scriptlet
* Sat Aug 02 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-5 * Sat Aug 02 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-5
- Fix appdata file name - Fix appdata file name