From 1a254c6d5e17abb525e3acd3f9c216338b7c7689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Tue, 22 Oct 2013 15:23:05 +0900 Subject: [PATCH] 3.11 bump --- .gitignore | 1 + iproute.spec | 35 +++++++++++++++--------------- iproute2-3.11.0-optflags.patch | 13 +++++++++++ iproute2-3.8.0-unused-result.patch | 13 ----------- sources | 2 +- 5 files changed, 33 insertions(+), 31 deletions(-) create mode 100644 iproute2-3.11.0-optflags.patch delete mode 100644 iproute2-3.8.0-unused-result.patch diff --git a/.gitignore b/.gitignore index 9a0345e..bd094c1 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ iproute2-2.6.35.tar.bz2 /iproute2-3.8.0.tar.gz /iproute2-3.9.0.tar.gz /iproute2-3.10.0.tar.gz +/iproute2-3.11.0.tar.gz diff --git a/iproute.spec b/iproute.spec index c6843a8..95b774a 100644 --- a/iproute.spec +++ b/iproute.spec @@ -1,8 +1,8 @@ %global cbq_version v0.7.3 Summary: Advanced IP routing and network device configuration tools Name: iproute -Version: 3.10.0 -Release: 8%{?dist} +Version: 3.11.0 +Release: 1%{?dist} Group: Applications/System URL: http://kernel.org/pub/linux/utils/net/%{name}2/ Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.gz @@ -10,21 +10,20 @@ Source1: cbq-0000.example Source2: avpkt Patch0: man-pages.patch Patch1: iproute2-3.4.0-kernel.patch -Patch2: iproute2-3.8.0-optflags.patch +Patch2: iproute2-3.11.0-optflags.patch Patch3: iproute2-3.9.0-IPPROTO_IP_for_SA.patch Patch4: iproute2-example-cbq-service.patch Patch5: iproute2-2.6.35-print-route.patch Patch6: iproute2-2.6.39-create-peer-veth-without-a-name.patch Patch7: iproute2-2.6.39-lnstat-dump-to-stdout.patch -Patch8: iproute2-3.8.0-unused-result.patch -Patch9: iproute2-3.10.0-xfrm-state-overflow.patch -Patch10: iproute2-3.10.0-lnstat-interval.patch -Patch11: iproute2-3.10.0-rtnl_send.patch +Patch8: iproute2-3.10.0-xfrm-state-overflow.patch +Patch9: iproute2-3.10.0-lnstat-interval.patch +Patch10: iproute2-3.10.0-rtnl_send.patch # Rejected by upstream -Patch12: iproute2-3.11.0-tc-ok.patch -Patch13: iproute2-3.11.0-iproute2-bridge-document-mdb.patch +Patch11: iproute2-3.11.0-tc-ok.patch +Patch12: iproute2-3.11.0-iproute2-bridge-document-mdb.patch # Bug #1011822, in upstream after 3.11.0 -Patch14: iproute2-3.11.0-iproute2-bridge-Close-file-with-bridge-monitor-file.patch +Patch13: iproute2-3.11.0-iproute2-bridge-Close-file-with-bridge-monitor-file.patch License: GPLv2+ and Public Domain BuildRequires: bison BuildRequires: flex @@ -77,13 +76,12 @@ The libnetlink static library. %patch5 -p1 -b .print-route %patch6 -p1 -b .peer-veth-without-name %patch7 -p1 -b .lnstat-dump-to-stdout -%patch8 -p1 -b .unused-result -%patch9 -p1 -b .xfrm-state -%patch10 -p1 -b .lnstat-interval -%patch11 -p1 -b .rtnl_send -%patch12 -p1 -b .tc_ok -%patch13 -p1 -b .bridge_mdb_doc -%patch14 -p1 -b .bridge_monitor_close +%patch8 -p1 -b .xfrm-state +%patch9 -p1 -b .lnstat-interval +%patch10 -p1 -b .rtnl_send +%patch11 -p1 -b .tc_ok +%patch12 -p1 -b .bridge_mdb_doc +%patch13 -p1 -b .bridge_monitor_close sed -i 's/^LIBDIR=/LIBDIR?=/' Makefile %build @@ -183,6 +181,9 @@ done %{_includedir}/libnetlink.h %changelog +* Tue Oct 22 2013 Petr Ĺ abata - 3.11.0-1 +- 3.11 bump + * Tue Oct 01 2013 Petr Pisar - 3.10.0-8 - Close file with bridge monitor file (bug #1011822) diff --git a/iproute2-3.11.0-optflags.patch b/iproute2-3.11.0-optflags.patch new file mode 100644 index 0000000..b5396b5 --- /dev/null +++ b/iproute2-3.11.0-optflags.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 95266f5..1876ec4 100644 +--- a/Makefile ++++ b/Makefile +@@ -34,7 +34,7 @@ CCOPTS = -O2 + WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes + WFLAGS += -Wmissing-declarations -Wold-style-definition + +-CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) ++CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(RPM_OPT_FLAGS) + YACCFLAGS = -d -t -v + + SUBDIRS=lib ip tc bridge misc netem genl man diff --git a/iproute2-3.8.0-unused-result.patch b/iproute2-3.8.0-unused-result.patch deleted file mode 100644 index 0527ceb..0000000 --- a/iproute2-3.8.0-unused-result.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile b/Makefile -index 898b572..70a6e14 100644 ---- a/Makefile -+++ b/Makefile -@@ -31,7 +31,7 @@ CC = gcc - HOSTCC = gcc - DEFINES += -D_GNU_SOURCE - CCOPTS = -O2 --WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes -+WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes - WFLAGS += -Wmissing-declarations -Wold-style-definition - - CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(RPM_OPT_FLAGS) diff --git a/sources b/sources index c55dc99..557c404 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b15432159e222ba7f0451d1b59258e4 iproute2-3.10.0.tar.gz +d5ba5ad98a33e1d14235b3bc4245e401 iproute2-3.11.0.tar.gz