[deluge] Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077
Toshio くらとみ
toshio at fedoraproject.org
Tue Feb 19 01:33:31 UTC 2013
commit 2a4a02c32fa1664e6719cef1eee5d0084aa11cd1
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Mon Feb 18 17:33:22 2013 -0800
Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077
deluge.spec | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/deluge.spec b/deluge.spec
index 99f4bc0..2fc216b 100644
--- a/deluge.spec
+++ b/deluge.spec
@@ -1,6 +1,6 @@
Name: deluge
Version: 1.3.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A GTK+ BitTorrent client with support for DHT, UPnP, and PEX
Group: Applications/Internet
License: GPLv3 with exceptions
@@ -124,7 +124,10 @@ mkdir -p %{buildroot}/var/lib/%{name}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-desktop-file-install --vendor fedora \
+desktop-file-install \
+%if 0%{?fedora} && 0%{?fedora} < 19
+ --vendor fedora \
+%endif
--dir %{buildroot}%{_datadir}/applications \
--copy-name-to-generic-name \
--add-mime-type=application/x-bittorrent \
@@ -200,7 +203,11 @@ rm -f ${buildroot}%{python_sitelib}/%{name}/ui/web/js/deluge-all/.build_data
%files gtk
%{_bindir}/%{name}
%{_bindir}/%{name}-gtk
+%if 0%{?fedora} && 0%{?fedora} < 19
%{_datadir}/applications/fedora-%{name}.desktop
+%else
+%{_datadir}/applications/%{name}.desktop
+%endif
%{python_sitelib}/%{name}/ui/gtkui
%{_mandir}/man?/%{name}-gtk*
%{_mandir}/man?/%{name}.1*
@@ -300,6 +307,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
/bin/systemctl try-restart deluge-daemon.service >/dev/null 2>&1 || :
%changelog
+* Mon Feb 18 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 1.3.5-4
+- Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list