mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
fish.spec: add overrides for FreeDesktop file on SUSE
This commit is contained in:
parent
f5a3a259dc
commit
dc1ed1abf9
|
@ -17,6 +17,10 @@ BuildRequires: cmake3
|
||||||
BuildRequires: cmake pcre2-devel
|
BuildRequires: cmake pcre2-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?opensuse_bs} && 0%{?rhel} && 0%{?rhel} < 7
|
%if 0%{?opensuse_bs} && 0%{?rhel} && 0%{?rhel} < 7
|
||||||
BuildRequires: gcc48 gcc48-c++ python-argparse
|
BuildRequires: gcc48 gcc48-c++ python-argparse
|
||||||
%endif
|
%endif
|
||||||
|
@ -73,6 +77,10 @@ make %{?_smp_mflags}
|
||||||
%make_install
|
%make_install
|
||||||
%endif
|
%endif
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
# OpenSUSE has strong opinions about categories which do not apply to other systems
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%suse_update_desktop_file fish "System;TerminalEmulator;Shell"
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# OpenSUSE does out-of-tree builds and defines __builddir
|
# OpenSUSE does out-of-tree builds and defines __builddir
|
||||||
|
|
Loading…
Reference in New Issue
Block a user