[bijiben/f21] Update mime scriptlets
Kalev Lember
kalev at fedoraproject.org
Sat Sep 20 13:06:27 UTC 2014
commit 129540f9ff23b8d6b4634c6095824673f39575ce
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sat Sep 20 13:03:15 2014 +0200
Update mime scriptlets
bijiben.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/bijiben.spec b/bijiben.spec
index bf01c6d..575bb22 100644
--- a/bijiben.spec
+++ b/bijiben.spec
@@ -1,6 +1,6 @@
Name: bijiben
Version: 3.13.92
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Simple Note Viewer
# Bijiben is GPLv3+ apart a few files "LGPLv2 or LGPLv3"
@@ -65,8 +65,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%post
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
+/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
%postun
/usr/bin/update-desktop-database &> /dev/null || :
@@ -74,11 +73,13 @@ if [ $1 -eq 0 ] ; then
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+ /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
%posttrans
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-mime-database -n %{_datadir}/mime &> /dev/null || :
%files -f %{name}.lang
%doc AUTHORS COPYING NEWS README
@@ -100,6 +101,9 @@ fi
%{_datadir}/dbus-1/services/org.gnome.Bijiben.SearchProvider.service
%changelog
+* Sat Sep 20 2014 Kalev Lember <kalevlember at gmail.com> - 3.13.92-2
+- Update mime scriptlets
+
* Tue Sep 16 2014 Kalev Lember <kalevlember at gmail.com> - 3.13.92-1
- Update to 3.13.92
- Drop large ChangeLog file
More information about the scm-commits
mailing list