[LabPlot] Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077

Toshio くらとみ toshio at fedoraproject.org
Wed Mar 6 23:06:40 UTC 2013


commit 808a7b767fea1c15376a43f1a7076b8cb7026b71
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Wed Mar 6 15:06:20 2013 -0800

    Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077

 LabPlot.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/LabPlot.spec b/LabPlot.spec
index b08dfdd..65a38c9 100644
--- a/LabPlot.spec
+++ b/LabPlot.spec
@@ -5,7 +5,7 @@
 
 Name:              LabPlot
 Version:           1.6.0.3
-Release:           2%{?dist}
+Release:           3%{?dist}
 Summary:           Data Analysis and Visualization
 
 License:           GPLv2+
@@ -184,7 +184,10 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
 
 # LabPlot is considered to be part of Fedora Electronic LAb
 # Compared to qtiplot, LabPlot provides support to various Oscilloscopes.
-desktop-file-install --vendor fedora           \
+desktop-file-install \
+%if 0%{?fedora} && 0%{?fedora} < 19
+    --vendor fedora           \
+%endif
     --delete-original                          \
     --remove-category Education                \
     --remove-category Science                  \
@@ -304,7 +307,11 @@ update-desktop-database &> /dev/null ||:
 %{_bindir}/%{name}
 %{_bindir}/labplot
 %{_bindir}/texvc
+%if 0%{?fedora} && 0%{?fedora} < 19
 %{_datadir}/applications/fedora-%{name}.desktop
+%else
+%{_datadir}/applications/%{name}.desktop
+%endif
 %{_datadir}/apps/%{name}/
 %{_datadir}/mimelnk/application/x-l?l.desktop
 %{_libdir}/lib%{name}.so.1*
@@ -361,6 +368,9 @@ update-desktop-database &> /dev/null ||:
 
 
 %Changelog
+* Wed Mar  6 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 1.6.0.3-3
+- Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
+
 * Mon Nov 19 2012 Thibault North <tnorth at fedoraproject.org> - 1.6.0.3-1
 - Update to 1.6.0.3
 


More information about the scm-commits mailing list