mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 13:08:49 +00:00
fish.spec: dependency on net-tools/hostname depending on platform
Closes #2190. [ci skip]
This commit is contained in:
parent
6bee85fefa
commit
ed4b78918a
1 changed files with 7 additions and 1 deletions
|
@ -14,10 +14,16 @@ BuildRequires: ncurses-devel gettext gcc-c++ autoconf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: bc
|
Requires: bc
|
||||||
Requires: python
|
Requires: python
|
||||||
Requires: which
|
Requires: which
|
||||||
Requires: man
|
Requires: man
|
||||||
|
|
||||||
|
%if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700 || 0%{?fedora}
|
||||||
|
Requires: hostname
|
||||||
|
%else
|
||||||
|
Requires: net-tools
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
fish is a shell geared towards interactive use. Its features are
|
fish is a shell geared towards interactive use. Its features are
|
||||||
|
|
Loading…
Reference in a new issue