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

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


commit ed180d755488042163ba6753a536955d73a3efd7
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Wed Mar 6 14:23:35 2013 -0800

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

 kitsune.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/kitsune.spec b/kitsune.spec
index d982c97..f36901b 100644
--- a/kitsune.spec
+++ b/kitsune.spec
@@ -1,6 +1,6 @@
 Name:           kitsune
 Version:        2.0
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Program to solve mathematical problems
 
 Group:          Amusements/Games
@@ -47,7 +47,10 @@ for f in 16 22 32 48 64 ; do
     $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${f}x${f}/apps/%{name}.png
 done
 
-desktop-file-install --vendor="fedora"                                 \
+desktop-file-install \
+%if 0%{?fedora} && 0%{?fedora} < 19
+       --vendor="fedora"                                 \
+%endif
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications    \
        %{SOURCE1}
 
@@ -60,7 +63,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc Changelog.txt txt/*
 %{_bindir}/%{name}
+%if 0%{?fedora} && 0%{?fedora} < 19
 %{_datadir}/applications/fedora-%{name}.desktop
+%else
+%{_datadir}/applications/%{name}.desktop
+%endif
 %{_datadir}/icons/hicolor/*x*/apps/%{name}.png
 
 
@@ -77,6 +84,9 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
 fi
 
 %changelog
+* Wed Mar  6 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 2.0-12
+- Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list