From 4c6f54535dcc9373d8c5657718b971997d2e142cafe055094a5f2478f3f42e1e Mon Sep 17 00:00:00 2001 From: Simon Lees Date: Tue, 9 Mar 2021 06:56:46 +0000 Subject: [PATCH] Accepting request 877889 from home:Smar:branches:shells MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Defines GenericName and adds TerminalEmulator category to fish.desktop. This fixes build on SLE and Leap 15.2. Feel free to suggest better generic name, this is best I was able to think off. It’s from https://en.wikipedia.org/wiki/Unix_shell. OBS-URL: https://build.opensuse.org/request/show/877889 OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=60 --- fish.changes | 5 +++++ fish.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/fish.changes b/fish.changes index 06091e2..4a26f17 100644 --- a/fish.changes +++ b/fish.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 9 05:43:01 UTC 2021 - Samu Voutilainen + +- Define GenericName and proper category in fish.desktop + ------------------------------------------------------------------- Mon Mar 1 15:43:22 UTC 2021 - Paolo Stivanin diff --git a/fish.spec b/fish.spec index 8e3242a..530b73f 100644 --- a/fish.spec +++ b/fish.spec @@ -33,6 +33,7 @@ BuildRequires: groff BuildRequires: ncurses-devel BuildRequires: pcre2-devel >= 10.21 BuildRequires: pkgconfig +BuildRequires: update-desktop-files Requires: bc Requires: man Recommends: terminfo @@ -72,6 +73,8 @@ rm %{buildroot}/%{_datadir}/fish/completions/curl.fish rm %{buildroot}/%{_datadir}/doc/fish/.buildinfo +%suse_update_desktop_file -G "Command-line interpreter" fish TerminalEmulator + %post # Add fish to the list of allowed shells in /etc/shells if ! grep -q '^%{_bindir}/%{name}$' %{_sysconfdir}/shells; then