[stardict] Remove --vendor from desktop-file-install on F19+. https://fedorahosted.org/fesco/ticket/1077

Toshio くらとみ toshio at fedoraproject.org
Mon Feb 25 03:17:21 UTC 2013


commit 4766c278fb6b1439bf44953c711aabafdd7f9a04
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Sun Feb 24 19:17:12 2013 -0800

    Remove --vendor from desktop-file-install on F19+. https://fedorahosted.org/fesco/ticket/1077

 stardict.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/stardict.spec b/stardict.spec
index 208c8b6..91297bd 100644
--- a/stardict.spec
+++ b/stardict.spec
@@ -1,7 +1,7 @@
 Name:           stardict
 Summary:        A powerful dictionary platform written in GTK+2
 Version:        3.0.4
-Release:        4%{?dist}
+Release:        5%{?dist}
 Group:          Applications/System
 License:        GPLv3
 URL:            http://code.google.com/p/stardict-3/
@@ -55,7 +55,10 @@ make -k %{_smp_mflags}
 %install
 make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
 
-desktop-file-install --vendor fedora --delete-original	\
+desktop-file-install --delete-original	\
+%if 0%{?fedora} && 0%{?fedora} < 19
+  --vendor fedora \
+%endif
   --dir $RPM_BUILD_ROOT%{_datadir}/applications		\
   $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
@@ -82,6 +85,9 @@ rm dict/doc/{Makefile*,Readme.mac,README_windows.txt}
 
 
 %changelog
+* Sun Feb 24 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 3.0.4-5
+- Remove --vendor from desktop-file-install on F19+. https://fedorahosted.org/fesco/ticket/1077
+
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.4-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list