packages: iproute2/iproute2.spec - link lnstat to ctstat and rtstat, fixed ...

gotar gotar at pld-linux.org
Sat Nov 26 12:24:27 CET 2011


Author: gotar                        Date: Sat Nov 26 11:24:27 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link lnstat to ctstat and rtstat, fixed Source0 URL, rel. 2

---- Files affected:
packages/iproute2:
   iproute2.spec (1.210 -> 1.211) 

---- Diffs:

================================================================
Index: packages/iproute2/iproute2.spec
diff -u packages/iproute2/iproute2.spec:1.210 packages/iproute2/iproute2.spec:1.211
--- packages/iproute2/iproute2.spec:1.210	Fri Nov 25 18:46:24 2011
+++ packages/iproute2/iproute2.spec	Sat Nov 26 12:24:22 2011
@@ -17,10 +17,10 @@
 Summary(pt_BR.UTF-8):	Ferramentas para roteamento avançado e configuração de interfaces de rede
 Name:		iproute2
 Version:	3.1.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Networking/Admin
-Source0:	http://kernel.org/pub/linux/utils/networking/iproute2/%{name}-%{version}.tar.xz
+Source0:	http://kernel.org/pub/linux/utils/net/iproute2/%{name}-%{version}.tar.xz
 # Source0-md5:	810cdc0ddc2409a7af7089588c6c9a68
 Patch0:		%{name}-build.patch
 Patch1:		%{name}-arp.patch
@@ -160,6 +160,8 @@
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_mandir}/man{3,7,8},%{_libdir},%{_includedir},%{?with_tc:%{_libdir}/tc}}
 
 install -p ip/{ip,rtmon,routel} %{?with_tc:tc/tc} misc/{ifstat,lnstat,nstat,rtacct,ss} $RPM_BUILD_ROOT%{_sbindir}
+ln -s lnstat $RPM_BUILD_ROOT%{_sbindir}/ctstat
+ln -s lnstat $RPM_BUILD_ROOT%{_sbindir}/rtstat
 cp -a etc/iproute2/rt_protos \
 	etc/iproute2/rt_realms \
 	etc/iproute2/rt_scopes \
@@ -169,6 +171,8 @@
 cp -a man/man3/*	$RPM_BUILD_ROOT%{_mandir}/man3
 cp -a man/man7/*	$RPM_BUILD_ROOT%{_mandir}/man7
 cp -a man/man8/*	$RPM_BUILD_ROOT%{_mandir}/man8
+echo ".so lnstat.8" > $RPM_BUILD_ROOT%{_mandir}/man8/ctstat.8
+echo ".so lnstat.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rtstat.8
 echo ".so tc-pbfifo.8" > $RPM_BUILD_ROOT%{_mandir}/man8/tc-bfifo.8
 echo ".so tc-pbfifo.8" > $RPM_BUILD_ROOT%{_mandir}/man8/tc-pfifo.8
 # arpd is not packaged here
@@ -189,6 +193,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README README.decnet README.iproute2+tc README.distribution README.lnstat
+%attr(755,root,root) %{_sbindir}/ctstat
 %attr(755,root,root) %{_sbindir}/ifstat
 %attr(755,root,root) %{_sbindir}/ip
 %attr(755,root,root) %{_sbindir}/lnstat
@@ -196,6 +201,7 @@
 %attr(755,root,root) %{_sbindir}/routel
 %attr(755,root,root) %{_sbindir}/rtacct
 %attr(755,root,root) %{_sbindir}/rtmon
+%attr(755,root,root) %{_sbindir}/rtstat
 %attr(755,root,root) %{_sbindir}/ss
 %dir %{_sysconfdir}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_protos
@@ -203,10 +209,12 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_scopes
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_tables
 %{_mandir}/man8/ip.8*
+%{_mandir}/man8/ctstat.8*
 %{_mandir}/man8/lnstat.8*
 %{_mandir}/man8/routel.8*
 %{_mandir}/man8/rtacct.8*
 %{_mandir}/man8/rtmon.8*
+%{_mandir}/man8/rtstat.8*
 %{_mandir}/man8/ss.8*
 %if %{with tc}
 %attr(755,root,root) %{_sbindir}/tc
@@ -236,6 +244,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.211  2011/11/26 11:24:22  gotar
+- link lnstat to ctstat and rtstat, fixed Source0 URL, rel. 2
+
 Revision 1.210  2011/11/25 17:46:24  qboosh
 - use libnetlink(3) man from sources (differs only by fixed typo)
 - package tc-hfsc(7) man
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/iproute2/iproute2.spec?r1=1.210&r2=1.211&f=u



More information about the pld-cvs-commit mailing list