]> git.pld-linux.org Git - packages/iproute2.git/blobdiff - iproute2.spec
- updated to 5.12.0
[packages/iproute2.git] / iproute2.spec
index 72c31ca54d83d9c7473e132a7eba3e4f6328e4b7..2f43ab57569d76a5157a8b8ee6c64b730519b12b 100644 (file)
@@ -14,12 +14,12 @@ Summary(es.UTF-8):  Herramientas para encaminamiento avanzado y configuración de
 Summary(pl.UTF-8):     Narzędzie do konfigurowania sieci
 Summary(pt_BR.UTF-8):  Ferramentas para roteamento avançado e configuração de interfaces de rede
 Name:          iproute2
-Version:       4.17.0
+Version:       5.12.0
 Release:       1
 License:       GPL v2+
 Group:         Networking/Admin
 Source0:       https://www.kernel.org/pub/linux/utils/net/iproute2/%{name}-%{version}.tar.xz
-# Source0-md5: 6f3a87fe2d97c28214fc2faab2c257d6
+# Source0-md5: bbebacdabd4628ff86453ef4771a242a
 Source1:       %{name}.tmpfiles
 Patch0:                %{name}-link.patch
 Patch3:                %{name}-LDFLAGS.patch
@@ -30,16 +30,18 @@ Patch6:             %{name}-print_cache_route_entries.patch
 Patch10:       %{name}-2.2.4-wrr.patch
 Patch11:       esfq-%{name}.patch
 Patch12:       001-net-dev-iface-descr-0.1.diff
-Patch13:       %{name}-q_atm_c.patch
 Patch14:       %{name}-q_srr.v0.4.patch
 Patch15:       %{name}-ip_route_get.patch
-URL:           http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
+URL:           https://wiki.linuxfoundation.org/networking/iproute2
 BuildRequires: bison
 BuildRequires: db-devel
 # libelf
 BuildRequires: elfutils-devel
 BuildRequires: flex
 BuildRequires: iptables-devel >= 0:1.4.5
+BuildRequires: libbpf-devel
+BuildRequires: libbsd-devel
+BuildRequires: libcap-devel
 BuildRequires: libmnl-devel
 BuildRequires: libselinux-devel
 %if %{with atm}
@@ -47,11 +49,12 @@ BuildRequires:      linux-atm-devel
 %endif
 BuildRequires: linux-libc-headers >= 7:2.6.12.0-15
 BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.673
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 Requires:      iptables-libs >= 0:1.4.5
-Obsoletes:     ifstat
+Obsoletes:     ifstat < 1.2
 Obsoletes:     iproute
 Obsoletes:     iproute2-doc < 4.14.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -111,19 +114,20 @@ Summary(pl.UTF-8):        Bashowe dopełnianie parametrów poleceń iproute2
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
 Requires:      bash-completion >= 2.0
+BuildArch:     noarch
 
 %description -n bash-completion-iproute2
-Bash completion for iproute2 commands (currently only tc).
+Bash completion for iproute2 commands (currently devlink and tc).
 
 %description -n bash-completion-iproute2 -l pl.UTF-8
-Bashowe dopełnianie parametrów poleceń iproute2 (obecnie tylko tc).
+Bashowe dopełnianie parametrów poleceń iproute2 (obecnie devlink i
+tc).
 
 %prep
 %setup -q
 
 # conflict with atm-vbr patched linux-libc-headers
 %{__rm} include/uapi/linux/atm.h
-#%{__rm} -r include/linux
 
 %patch0 -p1
 %patch3 -p1
@@ -134,7 +138,6 @@ Bashowe dopełnianie parametrów poleceń iproute2 (obecnie tylko tc).
 %patch10 -p1
 %patch11 -p1
 %{?with_iface_descr:%patch12 -p1}
-%patch13 -p0
 %patch14 -p1
 %patch15 -p1
 
@@ -176,16 +179,15 @@ cp -p include/libnetlink.h $RPM_BUILD_ROOT%{_includedir}
 
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/iproute2
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README README.decnet README.iproute2+tc README.distribution README.lnstat examples
+%doc README doc/actions examples
 %attr(755,root,root) %{_sbindir}/bridge
 %attr(755,root,root) %{_sbindir}/ctstat
+%attr(755,root,root) %{_sbindir}/dcb
 %attr(755,root,root) %{_sbindir}/devlink
 %attr(755,root,root) %{_sbindir}/genl
 %attr(755,root,root) %{_sbindir}/ifcfg
@@ -202,6 +204,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/rtstat
 %attr(755,root,root) %{_sbindir}/ss
 %attr(755,root,root) %{_sbindir}/tipc
+%attr(755,root,root) %{_sbindir}/vdpa
 %dir %{_sysconfdir}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bpf_pinning
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ematch_map
@@ -213,24 +216,37 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_scopes
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_tables
 %{_mandir}/man8/bridge.8*
-%{_mandir}/man8/devlink-resource.8*
-%{_mandir}/man8/genl.8*
-%{_mandir}/man8/ifcfg.8*
-%{_mandir}/man8/ip.8*
-%{_mandir}/man8/ip-*.8*
 %{_mandir}/man8/ctstat.8*
+%{_mandir}/man8/dcb.8*
+%{_mandir}/man8/dcb-app.8*
+%{_mandir}/man8/dcb-buffer.8*
+%{_mandir}/man8/dcb-dcbx.8*
+%{_mandir}/man8/dcb-ets.8*
+%{_mandir}/man8/dcb-maxrate.8*
+%{_mandir}/man8/dcb-pfc.8*
 %{_mandir}/man8/devlink.8*
 %{_mandir}/man8/devlink-dev.8*
+%{_mandir}/man8/devlink-dpipe.8*
+%{_mandir}/man8/devlink-health.8*
 %{_mandir}/man8/devlink-monitor.8*
 %{_mandir}/man8/devlink-port.8*
+%{_mandir}/man8/devlink-region.8*
+%{_mandir}/man8/devlink-resource.8*
 %{_mandir}/man8/devlink-sb.8*
+%{_mandir}/man8/devlink-trap.8*
+%{_mandir}/man8/genl.8*
+%{_mandir}/man8/ifcfg.8*
 %{_mandir}/man8/ifstat.8*
+%{_mandir}/man8/ip.8*
+%{_mandir}/man8/ip-*.8*
 %{_mandir}/man8/lnstat.8*
 %{_mandir}/man8/nstat.8*
+%{_mandir}/man8/rdma.8*
 %{_mandir}/man8/rdma-dev.8*
 %{_mandir}/man8/rdma-link.8*
 %{_mandir}/man8/rdma-resource.8*
-%{_mandir}/man8/rdma.8*
+%{_mandir}/man8/rdma-statistic.8*
+%{_mandir}/man8/rdma-system.8*
 %{_mandir}/man8/routef.8*
 %{_mandir}/man8/routel.8*
 %{_mandir}/man8/rtacct.8*
@@ -240,6 +256,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/ss.8*
 %{_mandir}/man8/tipc.8*
 %{_mandir}/man8/tipc-*.8*
+%{_mandir}/man8/vdpa.8*
+%{_mandir}/man8/vdpa-dev.8*
+%{_mandir}/man8/vdpa-mgmtdev.8*
 %if %{with tc}
 %attr(755,root,root) %{_sbindir}/tc
 %dir %{_libdir}/tc
@@ -264,4 +283,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n bash-completion-iproute2
 %defattr(644,root,root,755)
+%{bash_compdir}/devlink
 %{bash_compdir}/tc
This page took 0.033798 seconds and 4 git commands to generate.