mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
fish.spec: dependency on net-tools/hostname depending on platform
Closes #2190. [ci skip]
This commit is contained in:
parent
6bee85fefa
commit
ed4b78918a
|
@ -14,10 +14,16 @@ BuildRequires: ncurses-devel gettext gcc-c++ autoconf
|
|||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: bc
|
||||
Requires: python
|
||||
Requires: python
|
||||
Requires: which
|
||||
Requires: man
|
||||
|
||||
%if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700 || 0%{?fedora}
|
||||
Requires: hostname
|
||||
%else
|
||||
Requires: net-tools
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
||||
fish is a shell geared towards interactive use. Its features are
|
||||
|
|
Loading…
Reference in New Issue
Block a user