diff --git a/wireshark.changes b/wireshark.changes index c4be79e..4c9e6eb 100644 --- a/wireshark.changes +++ b/wireshark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 19 12:34:54 UTC 2024 - Markus Ebner + +- Fix Wireshark Super User Mode starter + ------------------------------------------------------------------- Wed May 15 19:55:19 UTC 2024 - Andreas Stieger diff --git a/wireshark.spec b/wireshark.spec index de0058a..ebce02f 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -216,7 +216,7 @@ install -d -m 0755 %{buildroot}%{_mandir}/man1/ # desktop file cp resources/freedesktop/%{org_name}.desktop %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop sed -i -e 's|Name=Wireshark|Name=Wireshark - Super User Mode|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop -sed -i -e 's|Exec=wireshark %{f}|Exec=xdg-su -c wireshark %{f}|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop +sed -i -e 's|^Exec=wireshark|Exec=xdg-su -c wireshark|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop %suse_update_desktop_file %{org_name} %suse_update_desktop_file %{org_name}-su