diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-03-06 19:24:02 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-03-06 19:24:19 +0800 |
commit | ed4b78918a944fe3b3a1e05ac553e89d5f1fa411 (patch) | |
tree | b8e73f7b2b6fe58364a33b44404b06b65e76e535 /fish.spec.in | |
parent | 6bee85fefa968a632287d5830be6023b90b88068 (diff) |
fish.spec: dependency on net-tools/hostname depending on platform
Closes #2190.
[ci skip]
Diffstat (limited to 'fish.spec.in')
-rw-r--r-- | fish.spec.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fish.spec.in b/fish.spec.in index fda42790..04006037 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -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 |