From 5018ec4dce132b249fa9b91c83d38618ba0b2557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Vok=C3=A1l?= Date: Fri, 11 Nov 2005 11:20:24 +0000 Subject: [PATCH] - use tc manpages and cbq.init from source tarball (#172851) --- iproute.spec | 38 ++++++-------------------------------- 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/iproute.spec b/iproute.spec index 16be0ff..88b3789 100644 --- a/iproute.spec +++ b/iproute.spec @@ -4,27 +4,12 @@ Summary: Advanced IP routing and network device configuration tools. Name: iproute Version: 2.6.14 -Release: 8 +Release: 9 Group: Applications/System Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}-%{date_version}.tar.gz URL: http://linux-net.osdl.org/index.php/Iproute2 -Source1: ip.8 -Source2: tc.8 -Source3: tc-cbq.8 -Source4: tc-cbq-details.8 -Source5: tc-htb.8 -Source6: tc-pbfifo.8 -Source7: tc-pfifo_fast.8 -Source8: tc-prio.8 -Source9: tc-red.8 -Source10: tc-sfq.8 -Source11: tc-tbf.8 -Source12: http://easynews.dl.sourceforge.net/sourceforge/cbqinit/cbq.init-%{cbq_version} -Source13: README.cbq - Patch1: iproute2-2.4.7-rt_config.patch Patch2: iproute2-2.6.9-kernel.patch -Patch3: cbq-0.7.1-avpkt-enhancement.patch Patch5: iproute2-ss050901-opt_flags.patch Patch7: iproute2-051007-add_tunnel.patch @@ -39,10 +24,8 @@ capabilities of the Linux 2.4.x and 2.6.x kernel. %prep %setup -q -n iproute2-%{version}-%{date_version} -cp %{SOURCE12} $RPM_BUILD_DIR/iproute2-%{version}-%{date_version} %patch1 -p1 -b .rt_config %patch2 -p1 -b .kernel -%patch3 -p0 -b .avpkt-enhancment %patch5 -p1 -b .opt_flags %patch7 -p1 -b .tunnel_add @@ -51,7 +34,6 @@ make make -C doc %install -#rm -rf $RPM_BUILD_ROOT [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/sbin \ @@ -64,18 +46,8 @@ install -m 755 ip/ip ip/ifcfg ip/rtmon tc/tc $RPM_BUILD_ROOT/sbin install -m 755 misc/ss misc/nstat misc/rtacct misc/lnstat misc/arpd $RPM_BUILD_ROOT%{_sbindir} install -m 755 tc/q_netem.so $RPM_BUILD_ROOT%{_libdir}/tc install -m 644 netem/normal.dist netem/pareto.dist netem/paretonormal.dist $RPM_BUILD_ROOT%{_libdir}/tc -install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE6} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE7} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE9} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 644 %{SOURCE11} $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m 755 %{SOURCE12} $RPM_BUILD_ROOT/sbin/cbq +install -m 644 man/man8/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8 +install -m 755 examples/cbq.init-%{cbq_version} $RPM_BUILD_ROOT/sbin/cbq install -d -m 755 $RPM_BUILD_ROOT/etc/sysconfig/cbq cp -f etc/iproute2/* $RPM_BUILD_ROOT/etc/iproute2 @@ -96,7 +68,6 @@ EOF %clean -#rm -rf $RPM_BUILD_ROOT [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files @@ -114,6 +85,9 @@ EOF %config(noreplace) /etc/sysconfig/cbq/* %changelog +* Fri Nov 11 2005 Radek Vokal 2.6.14-9 +- use tc manpages and cbq.init from source tarball (#172851) + * Thu Nov 10 2005 Radek Vokal 2.6.14-8 - new upstream source