Fixed paths in the desktop-file (see rhbz #1059188)

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
Peter Lemenkov 2014-01-29 17:16:46 +04:00
parent ab5f7ca144
commit b47624d7e5
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,20 @@
From: Kenneth Soerensen <knnthsrnsn@gmail.com>
Date: Wed, 29 Jan 2014 16:04:12 +0400
Subject: [PATCH] Fix paths in a wireshark.desktop file
diff --git a/wireshark.desktop b/wireshark.desktop
index d275887..a72a655 100644
--- a/wireshark.desktop
+++ b/wireshark.desktop
@@ -70,8 +70,8 @@ Comment[fi]=Verkkoliikenne analysaattori
Comment[fr]=Analyseur de trafic réseau
Comment[sv]=Nätverkstrafikanalysator
Icon=wireshark
-TryExec=wireshark
-Exec=wireshark %f
+TryExec=/usr/sbin/wireshark
+Exec=/usr/sbin/wireshark %f
Terminal=false
MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;
# Category entry according to:

View File

@ -21,7 +21,7 @@
Summary: Network traffic analyzer Summary: Network traffic analyzer
Name: wireshark Name: wireshark
Version: 1.10.5 Version: 1.10.5
Release: 2%{?dist} Release: 3%{?dist}
License: GPL+ License: GPL+
Group: Applications/Internet Group: Applications/Internet
Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2 Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2
@ -74,6 +74,8 @@ Patch21: wireshark-0021-Remove-g_memmove.patch
Patch22: wireshark-0022-Fix-IP-types.patch Patch22: wireshark-0022-Fix-IP-types.patch
# Backported from upstream # Backported from upstream
Patch23: wireshark-0023-Copy-over-r54544-from-trunk.patch Patch23: wireshark-0023-Copy-over-r54544-from-trunk.patch
# Fedora-specific
Patch24: wireshark-0024-Fix-paths-in-a-wireshark.desktop-file.patch
Url: http://www.wireshark.org/ Url: http://www.wireshark.org/
BuildRequires: libpcap-devel >= 0.9 BuildRequires: libpcap-devel >= 0.9
@ -191,6 +193,7 @@ and plugins.
%patch21 -p1 -b .remove_g_memmove %patch21 -p1 -b .remove_g_memmove
%patch22 -p1 -b .rtpproxy_ip_types %patch22 -p1 -b .rtpproxy_ip_types
%patch23 -p1 -b .rare_bug_with_sniffer_traces %patch23 -p1 -b .rare_bug_with_sniffer_traces
%patch24 -p1 -b .fix_paths
%build %build
%ifarch s390 s390x sparcv9 sparc64 %ifarch s390 s390x sparcv9 sparc64
@ -389,6 +392,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
%changelog %changelog
* Wed Jan 29 2014 Peter Lemenkov <lemenkov@gmail.com> - 1.10.5-3
- Fixed paths in the desktop-file (see rhbz #1059188)
* Mon Jan 13 2014 Peter Lemenkov <lemenkov@gmail.com> - 1.10.5-2 * Mon Jan 13 2014 Peter Lemenkov <lemenkov@gmail.com> - 1.10.5-2
- Updated RTPproxy dissector (again) - Updated RTPproxy dissector (again)
- Fix rare issue with the Sniffer traces (patch no. 23) - Fix rare issue with the Sniffer traces (patch no. 23)