fish.spec: dependency on net-tools/hostname depending on platform

Closes #2190.

[ci skip]
This commit is contained in:
David Adam 2016-03-06 19:24:02 +08:00
parent 6bee85fefa
commit ed4b78918a

View File

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