diff --git a/shared-mime-info-fix-applications-desktop-mime-recognition.patch b/shared-mime-info-fix-applications-desktop-mime-recognition.patch new file mode 100644 index 0000000..cbca9ea --- /dev/null +++ b/shared-mime-info-fix-applications-desktop-mime-recognition.patch @@ -0,0 +1,24 @@ +From bb6a26ff9f45363e8290372e113044a2dd2b70dd Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Mon, 21 Nov 2011 18:18:54 +0000 +Subject: Fix MP3 being detected as Qt Designer + +https://bugzilla.gnome.org/show_bug.cgi?id=664457 +--- +diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in +index 6af2c45..145dd5a 100644 +--- a/freedesktop.org.xml.in ++++ b/freedesktop.org.xml.in +@@ -1584,8 +1584,8 @@ command to generate the output files. + + + +- +- ++ ++ + + + +-- +cgit v0.9.0.2-2-gbebe diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 281575e..7672912 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -1,7 +1,7 @@ Summary: Shared MIME information database Name: shared-mime-info Version: 0.91 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://freedesktop.org/Software/shared-mime-info @@ -19,6 +19,7 @@ Source4: shotwell-viewer-defaults.list # Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354 Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch +Patch1: shared-mime-info-fix-applications-desktop-mime-recognition.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libxml2-devel @@ -41,6 +42,7 @@ and looking up the correct MIME type in a database. %prep %setup -q %patch0 -p1 -b .ooo-zip +%patch1 -p1 -b .fix-mp3 %build @@ -87,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man*/* %changelog +* Mon Nov 21 2011 Jon Masters 0.91-6 +- Fix interpretation of MP3 files as application/x-designer (#755472) + * Mon Oct 24 2011 Rex Dieter 0.91-5 - s/mozilla-firefox.desktop/firefox.desktop/ (f17+, #736558)