]> git.pld-linux.org Git - packages/iproute2.git/blobdiff - iproute2.spec
- updated to 3.9.0
[packages/iproute2.git] / iproute2.spec
index 8a1f40674c24cc7dad3f1a9ac72f2bd352b54889..153ded5c1a786cd714b92bf36a2c6a836818e8bc 100644 (file)
@@ -15,12 +15,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:       3.7.0
+Version:       3.9.0
 Release:       1
 License:       GPL v2+
 Group:         Networking/Admin
 Source0:       http://kernel.org/pub/linux/utils/net/iproute2/%{name}-%{version}.tar.xz
-# Source0-md5: bea92f26c8cc04e79f4db02dc1d258d3
+# Source0-md5: fd9db28e4f411a1e74de65c919ae590f
 Patch0:                %{name}-arp.patch
 Patch1:                %{name}-iptables.patch
 Patch2:                %{name}-iptables64.patch
@@ -32,6 +32,7 @@ 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
+Patch16:       %{name}-build.patch
 URL:           http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
 BuildRequires: bison
 BuildRequires: db-devel
@@ -107,7 +108,7 @@ The iproute documentation contains howtos and examples of settings.
 Dokumentacja do iproute zawiera "howto" oraz przykłady ustawień.
 
 %prep
-%setup -q -n iproute-%{version}
+%setup -q
 
 # conflict with atm-vbr patched linux-libc-headers
 %{__rm} include/linux/atm.h
@@ -128,6 +129,7 @@ Dokumentacja do iproute zawiera "howto" oraz przykłady ustawień.
 %patch13 -p0
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 %{__make} \
@@ -139,7 +141,7 @@ Dokumentacja do iproute zawiera "howto" oraz przykłady ustawień.
        LD="%{__cc}" \
 %endif
        HOSTCC="%{__cc}" \
-       CCOPTS="%{rpmcflags} %{rpmcppflags}" \
+       CCOPTS="%{rpmcflags} %{rpmcppflags} -Wno-unused-result" \
        LDFLAGS="%{rpmldflags} -Wl,-export-dynamic" \
        LIBDIR=%{_libdir} \
        %{!?with_tc:SUBDIRS="lib ip misc"}
This page took 0.494245 seconds and 4 git commands to generate.