From bcaaae0cd221a421f9e2944447ebba647d6637e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Vok=C3=A1l?= Date: Fri, 23 Sep 2005 10:03:57 +0000 Subject: [PATCH] - add RPM_OPT_FLAGS --- iproute.spec | 7 ++++++- iproute2-ss050901-opt_flags.patch | 11 +++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 iproute2-ss050901-opt_flags.patch diff --git a/iproute.spec b/iproute.spec index af76a55..2ee6dd7 100644 --- a/iproute.spec +++ b/iproute.spec @@ -4,7 +4,7 @@ Summary: Advanced IP routing and network device configuration tools. Name: iproute Version: 2.6.14 -Release: 3 +Release: 4 Group: Applications/System Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{date_version}.tar.bz2 URL: http://developer.osdl.org/dev/iproute2/ @@ -26,6 +26,7 @@ Patch1: iproute2-2.4.7-rt_config.patch Patch2: iproute2-2.6.9-kernel.patch Patch3: cbq-0.7.1-avpkt-enhancement.patch Patch4: iproute2-ss050901-help.patch +Patch5: iproute2-ss050901-opt_flags.patch License: GNU GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -43,6 +44,7 @@ cp %{SOURCE12} $RPM_BUILD_DIR/iproute2-%{date_version} %patch2 -p1 -b .kernel %patch3 -p0 -b .avpkt-enhancment %patch4 -p1 -b .help +%patch5 -p1 -b .opt_flags %build make @@ -112,6 +114,9 @@ EOF %config(noreplace) /etc/sysconfig/cbq/* %changelog +* Fri Sep 23 2005 Radek Vokal 2.6.14-4 +- add RPM_OPT_FLAGS + * Mon Sep 19 2005 Radek Vokal 2.6.14-3 - forget to apply the patch :( diff --git a/iproute2-ss050901-opt_flags.patch b/iproute2-ss050901-opt_flags.patch new file mode 100644 index 0000000..e665410 --- /dev/null +++ b/iproute2-ss050901-opt_flags.patch @@ -0,0 +1,11 @@ +--- iproute2-ss050901/Makefile.opt_flags 2005-09-23 11:49:01.000000000 +0200 ++++ iproute2-ss050901/Makefile 2005-09-23 11:49:31.000000000 +0200 +@@ -22,7 +22,7 @@ + + CC = gcc + HOSTCC = gcc +-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall ++CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall $(RPM_OPT_FLAGS) + CFLAGS = $(CCOPTS) -I../include $(DEFINES) + YACCFLAGS = -d -t -v +