Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package etherape for openSUSE:Factory 
checked in at 2023-01-01 09:38:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/etherape (Old)
 and      /work/SRC/openSUSE:Factory/.etherape.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "etherape"

Sun Jan  1 09:38:58 2023 rev:36 rq:1045927 version:0.9.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/etherape/etherape.changes        2022-04-28 
23:08:12.408702662 +0200
+++ /work/SRC/openSUSE:Factory/.etherape.new.1563/etherape.changes      
2023-01-01 09:39:00.098825471 +0100
@@ -1,0 +2,5 @@
+Fri Dec  2 12:41:36 UTC 2022 - ecsos <ec...@opensuse.org>
+
+- Add additional desktopfile for root.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ etherape.spec ++++++
--- /var/tmp/diff_new_pack.0nKGIf/_old  2023-01-01 09:39:00.746829015 +0100
+++ /var/tmp/diff_new_pack.0nKGIf/_new  2023-01-01 09:39:00.754829059 +0100
@@ -35,6 +35,7 @@
 BuildRequires:  pkgconfig(popt)
 Requires(post): update-desktop-files
 Requires(postun):update-desktop-files
+Requires:       xdg-utils
 Recommends:     %{name}-lang
 %if 0%{?is_opensuse}
 BuildRequires:  autoconf-archive
@@ -63,7 +64,15 @@
 
 %install
 %make_install
+
+# desktop file
+# additional root desktop file
+cp %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}-su.desktop
+sed -i -e 's|Name=EtherApe|Name=EtherApe - Super User Mode|g' 
%{buildroot}%{_datadir}/applications/%{name}-su.desktop
+sed -i -e 's|Exec=etherape|Exec=xdg-su -c etherape|g' 
%{buildroot}%{_datadir}/applications/%{name}-su.desktop
 %suse_update_desktop_file %{name} System Network
+%suse_update_desktop_file %{name}-su System Network
+
 %find_lang %{name}
 %fdupes -s %{buildroot}
 
@@ -80,6 +89,7 @@
 %doc TODO NEWS README* AUTHORS ABOUT-NLS
 %{_bindir}/etherape
 %{_datadir}/applications/etherape.desktop
+%{_datadir}/applications/etherape-su.desktop
 %{_datadir}/etherape
 %{_mandir}/man1/etherape.1%{?ext_man}
 %{_datadir}/pixmaps/etherape.png

Reply via email to