Accepting request 877889 from home:Smar:branches:shells

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
This commit is contained in:
Simon Lees 2021-03-09 06:56:46 +00:00 committed by Git OBS Bridge
parent 5da5a3d39c
commit 4c6f54535d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 9 05:43:01 UTC 2021 - Samu Voutilainen <smar@smar.fi>
- Define GenericName and proper category in fish.desktop
-------------------------------------------------------------------
Mon Mar 1 15:43:22 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -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