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:
parent
3e208ab4b7
commit
a70da2eb61
1 changed files with 6 additions and 0 deletions
|
@ -32,12 +32,18 @@ Requires: procps-ng
|
||||||
%if %{with_kernel_modules_extra}
|
%if %{with_kernel_modules_extra}
|
||||||
Requires: kernel-modules-extra
|
Requires: kernel-modules-extra
|
||||||
%endif
|
%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
|
BuildRequires: make automake autoconf libev-devel python-devel bridge-utils ebtables iproute net-tools ImageMagick help2man
|
||||||
%if 0%{?el6}
|
%if 0%{?el6}
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
%else
|
%else
|
||||||
BuildRequires: procps-ng
|
BuildRequires: procps-ng
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?fedora} >= 25
|
||||||
|
BuildRequires: iproute-tc
|
||||||
|
%endif
|
||||||
Provides: core-daemon
|
Provides: core-daemon
|
||||||
# python-sphinx
|
# python-sphinx
|
||||||
%description daemon
|
%description daemon
|
||||||
|
|
Loading…
Add table
Reference in a new issue