caolanm pushed to openoffice.org-diafilter (master). "Resolves: rhbz#1222232 malformed .desktop file"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 18 10:13:43 UTC 2015


From 2d5d48f2d15ecfe2404958d048d09a9e895a63f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm at redhat.com>
Date: Mon, 18 May 2015 11:13:36 +0100
Subject: Resolves: rhbz#1222232 malformed .desktop file


diff --git a/fix.desktop.patch b/fix.desktop.patch
new file mode 100644
index 0000000..4e7389e
--- /dev/null
+++ b/fix.desktop.patch
@@ -0,0 +1,15 @@
+Index: openoffice.org-diafilter.desktop
+===================================================================
+--- a/openoffice.org-diafilter.desktop	(revision 47)
++++ b/openoffice.org-diafilter.desktop	(revision 48)
+@@ -2,8 +2,8 @@
+ Version=1.0
+ Terminal=false
+ Type=Application
+-Exec=openoffice.org -draw %U
++Exec=libreoffice -draw %U
+ MimeType=application/x-dia-diagram;application/x-dia-shape;
+-Name=%PRODUCTNAME DIA Format Importer
++Name=LibreOffice DIA Format Importer
+ GenericName=DIA Format Importer
+ NoDisplay=true
diff --git a/openoffice.org-diafilter.spec b/openoffice.org-diafilter.spec
index 44cfdc4..17051df 100644
--- a/openoffice.org-diafilter.spec
+++ b/openoffice.org-diafilter.spec
@@ -4,7 +4,7 @@
 
 Name:          openoffice.org-diafilter
 Version:       1.7.3
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       DIA diagram shape importer and gallery extension for LibreOffice
 Group:         Applications/Productivity
 License:       GPLv3+ and LGPLv3+
@@ -12,6 +12,7 @@ URL:           http://fedorahosted.org/openoffice.org-diafilter
 Source:        http://fedorahosted.org/releases/o/p/%{name}/%{name}-%{version}.tar.bz2
 
 Patch0:        0001-add-missing-include.patch
+Patch1:        fix.desktop.patch
 
 BuildRequires: libreoffice-sdk, boost-devel, dia, zlib-devel, zip
 Requires:      libreoffice-draw%{?_isa}
@@ -39,6 +40,9 @@ cp -p openoffice.org-diafilter.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/
 %doc README NEWS TODO gpl-3.0.txt lgpl-3.0.txt
 
 %changelog
+* Mon May 18 2015 Caolán McNamara <caolanm at redhat.com> - 1.7.3-2
+- Resolves: rhbz#1222232 malformed .desktop file
+
 * Wed Apr 29 2015 Caolán McNamara <caolanm at redhat.com> - 1.7.3-1
 - Resolves: rhbz#1185566 SIGABRT in DIAFilter::detect
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/openoffice.org-diafilter.git/commit/?h=master&id=2d5d48f2d15ecfe2404958d048d09a9e895a63f2


More information about the scm-commits mailing list