From a70da2eb6122d787db5960c4d5725f886544e041 Mon Sep 17 00:00:00 2001 From: Gabriel Somlo Date: Fri, 10 Feb 2017 11:31:44 -0500 Subject: [PATCH] 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 --- packaging/rpm/core.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/rpm/core.spec.in b/packaging/rpm/core.spec.in index 1a2cc9e3..7cf28a7b 100644 --- a/packaging/rpm/core.spec.in +++ b/packaging/rpm/core.spec.in @@ -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