[harmonyseq] update mime scriptlets

Rex Dieter rdieter at fedoraproject.org
Thu Oct 2 19:30:48 UTC 2014


commit 064539fb339df0eef334ae98da2a01e6d8d16cbd
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu Oct 2 14:30:41 2014 -0500

    update mime scriptlets

 harmonyseq.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/harmonyseq.spec b/harmonyseq.spec
index 6a888fc..318f0c9 100644
--- a/harmonyseq.spec
+++ b/harmonyseq.spec
@@ -1,7 +1,7 @@
 Name:          harmonyseq
 Summary:       A MIDI sequencer
 Version:       0.16
-Release:       15%{?dist}
+Release:       16%{?dist}
 License:       GPLv3+
 URL:           http://harmonyseq.wordpress.com/
 Source:        http://launchpad.net/harmonyseq/stable/0.16/+download/harmonySEQ-%{version}.tar.gz
@@ -43,19 +43,21 @@ desktop-file-install                                    \
 
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+touch --no-create %{_datadir}/mime/packages &> /dev/null || :
 update-desktop-database &> /dev/null || :
-update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %postun
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+    touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+    update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 fi
 update-desktop-database &> /dev/null || :
-update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %posttrans
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 
 %files -f harmonySEQ.lang
 %doc LICENSE CHANGELOG README 
@@ -67,6 +69,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/mime/packages/*
 
 %changelog
+* Thu Oct 02 2014 Rex Dieter <rdieter at fedoraproject.org> 0.16-16
+- update mime scriptlets
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list