mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
spec: Fix requirement for "tc" on new distros
At least since Fedora 26 (maybe earlier, but we don't support older Fedora releases), the "tc" tool is provided by a separate iproute-tc package. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
19e5a81f21
commit
55e0cc2a42
@ -482,8 +482,14 @@ Requires: %{name}-libs = %{version}-%{release}
|
|||||||
|
|
||||||
# for modprobe of pci devices
|
# for modprobe of pci devices
|
||||||
Requires: module-init-tools
|
Requires: module-init-tools
|
||||||
|
|
||||||
# for /sbin/ip & /sbin/tc
|
# for /sbin/ip & /sbin/tc
|
||||||
Requires: iproute
|
Requires: iproute
|
||||||
|
# tc is provided by iproute-tc since at least Fedora 26
|
||||||
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
|
Requires: iproute-tc
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: avahi-libs
|
Requires: avahi-libs
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
Requires: polkit >= 0.112
|
Requires: polkit >= 0.112
|
||||||
|
Loading…
Reference in New Issue
Block a user