rpm: include iproute-tc [Build]Requires for fedora >= 25

As of F25, the 'tc' command was moved to a separate sub-package of
iproute, which must be included both at build- and run-time.

Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
This commit is contained in:
Gabriel Somlo 2017-02-10 11:31:44 -05:00
parent 3e208ab4b7
commit a70da2eb61

View file

@ -32,12 +32,18 @@ Requires: procps-ng
%if %{with_kernel_modules_extra}
Requires: kernel-modules-extra
%endif
%if 0%{?fedora} >= 25
Requires: iproute-tc
%endif
BuildRequires: make automake autoconf libev-devel python-devel bridge-utils ebtables iproute net-tools ImageMagick help2man
%if 0%{?el6}
BuildRequires: procps
%else
BuildRequires: procps-ng
%endif
%if 0%{?fedora} >= 25
BuildRequires: iproute-tc
%endif
Provides: core-daemon
# python-sphinx
%description daemon