[synce-kpm] Remove --vendor from desktop-file-install for F19+. https://fedorahosted.org/fesco/ticket/1077
Toshio くらとみ
toshio at fedoraproject.org
Sun Feb 24 22:16:16 UTC 2013
commit 089d9f21486fae961ef2ad87737c314b91d1223c
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Sun Feb 24 14:16:09 2013 -0800
Remove --vendor from desktop-file-install for F19+. https://fedorahosted.org/fesco/ticket/1077
synce-kpm.spec | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/synce-kpm.spec b/synce-kpm.spec
index 9354d8b..f6ef2fe 100644
--- a/synce-kpm.spec
+++ b/synce-kpm.spec
@@ -3,7 +3,7 @@
Name: synce-kpm
Version: 0.15.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: SynCE KDE PDA Manager
Group: Applications/Communications
@@ -38,7 +38,10 @@ manage WM5/WM6 PDA devices from Linux.
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root $RPM_BUILD_ROOT
-desktop-file-install --vendor="fedora" \
+desktop-file-install \
+%if 0%{?fedora} && 0%{?fedora} < 19
+ --vendor="fedora" \
+%endif
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE1}
@@ -51,9 +54,16 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS ChangeLog COPYING README TODO
%{_bindir}/synce-kpm
%{?python_sitelib}/*
+%if 0%{?fedora} && 0%{?fedora} < 19
%{_datadir}/applications/fedora-synce-kpm.desktop
+%else
+%{_datadir}/applications/synce-kpm.desktop
+%endif
%changelog
+* Sun Feb 24 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 0.15.1-5
+- Remove --vendor from desktop-file-install for F19+. https://fedorahosted.org/fesco/ticket/1077
+
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list