[audacious/f17] Keep all MimeType definitions in the single .desktop file, even if the

Michael Schwendt mschwendt at fedoraproject.org
Sat Jan 12 20:46:18 UTC 2013


commit 27ae399109f09ded0bd25fd562d16a7de754c6f9
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Sat Jan 12 21:46:11 2013 +0100

    Keep all MimeType definitions in the single .desktop file, even if the
    
      corresponding plug-ins may be missing. This is supposed to fix the
      assignment of Default Applications (GNOME bz #690119).

 audacious.spec |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/audacious.spec b/audacious.spec
index 54b3282..975cb83 100644
--- a/audacious.spec
+++ b/audacious.spec
@@ -8,7 +8,7 @@
 
 Name: audacious
 Version: 3.2.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv3
 Summary: Advanced audio player
@@ -109,16 +109,6 @@ find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
 
 desktop-file-install  \
     --dir ${RPM_BUILD_ROOT}%{_datadir}/applications  \
-    --remove-mime-type audio/mp3  \
-    --remove-mime-type audio/mpeg  \
-    --remove-mime-type audio/mpegurl  \
-    --remove-mime-type audio/x-mp3  \
-    --remove-mime-type audio/x-mpeg  \
-    --remove-mime-type audio/x-mpegurl  \
-    --remove-mime-type audio/x-ms-wma  \
-    --remove-mime-type audio/x-musepack  \
-    --remove-mime-type audio/prs.sid  \
-    --remove-mime-type audio/midi  \
     ${RPM_BUILD_ROOT}%{_datadir}/applications/audacious.desktop
 
 
@@ -167,6 +157,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Sat Jan 12 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 3.2.4-2
+- Keep all MimeType definitions in the single .desktop file, even if the
+  corresponding plug-ins may be missing. This is supposed to fix the
+  assignment of Default Applications (GNOME bz #690119).
+
 * Sat Jun 30 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 3.2.4-1
 - Update to 3.2.4 (bug-fixes). README is gone.
 


More information about the scm-commits mailing list