From 458290b30b7b97a024dcd564ed0ac7c3fc3f2a97 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 29 Jul 2015 08:02:57 -0500 Subject: [PATCH] Provide generic/fallback mimeapps.list too (#1243049) --- shared-mime-info.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 00be80c..2fca7e0 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: 1.4 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://freedesktop.org/Software/shared-mime-info @@ -62,6 +62,12 @@ cat %SOURCE2 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list cat %SOURCE3 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list cat %SOURCE4 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +# Support fallback/generic mimeapps.list (currently based on gnome-mimeapps.list), see +# https://lists.fedoraproject.org/pipermail/devel/2015-July/212403.html +# https://bugzilla.redhat.com/show_bug.cgi?id=1243049 +cp $RPM_BUILD_ROOT%{_datadir}/applications/gnome-mimeapps.list \ + $RPM_BUILD_ROOT%{_datadir}/applications/mimeapps.list + ## remove bogus translation files ## translations are already in the xml file installed rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* @@ -80,6 +86,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* %doc README NEWS HACKING shared-mime-info-spec.xml %{_bindir}/* %{_datadir}/mime/packages/* +%{_datadir}/applications/mimeapps.list %{_datadir}/applications/gnome-mimeapps.list # better to co-own this dir than to pull in pkgconfig %dir %{_datadir}/pkgconfig @@ -87,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* %{_mandir}/man*/* %changelog +* Wed Jul 29 2015 Rex Dieter 1.4-6 +- Provide generic/fallback mimeapps.list too (#1243049) + * Fri Jun 19 2015 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild