| |
@@ -2,9 +2,6 @@
|
| |
Name: iproute
|
| |
Version: 6.5.0
|
| |
Release: %autorelease
|
| |
- %if 0%{?rhel}
|
| |
- Group: Applications/System
|
| |
- %endif
|
| |
URL: https://kernel.org/pub/linux/utils/net/%{name}2/
|
| |
Source0: https://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.xz
|
| |
Patch0: 0001-Makefile-ensure-CONF_USR_DIR-honours-the-libdir-conf.patch
|
| |
@@ -17,7 +14,9 @@
|
| |
BuildRequires: iptables-devel >= 1.4.5
|
| |
BuildRequires: libbpf-devel
|
| |
BuildRequires: libcap-devel
|
| |
+ %if ! 0%{?rhel} >= 10
|
| |
BuildRequires: libdb-devel
|
| |
+ %endif
|
| |
BuildRequires: libmnl-devel
|
| |
BuildRequires: libselinux-devel
|
| |
BuildRequires: make
|
| |
@@ -38,9 +37,6 @@
|
| |
|
| |
%package tc
|
| |
Summary: Linux Traffic Control utility
|
| |
- %if 0%{?rhel}
|
| |
- Group: Applications/System
|
| |
- %endif
|
| |
License: GPL-2.0-or-later
|
| |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
| |
Provides: /sbin/tc
|
| |
@@ -53,9 +49,6 @@
|
| |
%if ! 0%{?_module_build}
|
| |
%package doc
|
| |
Summary: Documentation for iproute2 utilities with examples
|
| |
- %if 0%{?rhel}
|
| |
- Group: Applications/System
|
| |
- %endif
|
| |
License: GPL-2.0-or-later
|
| |
Requires: %{name} = %{version}-%{release}
|
| |
|
| |
@@ -65,9 +58,6 @@
|
| |
|
| |
%package devel
|
| |
Summary: iproute development files
|
| |
- %if 0%{?rhel}
|
| |
- Group: Development/Libraries
|
| |
- %endif
|
| |
License: GPL-2.0-or-later
|
| |
Requires: %{name} = %{version}-%{release}
|
| |
Provides: iproute-static = %{version}-%{release}
|
| |
libdb is unwanted in RHEL 10; the arpd binary is disabled without it.
Also, drop all Group entries, as they are no longer used.