SPECS: iproute2.spec - add libnetlink.3, verbose files
glen
glen at pld-linux.org
Thu Jan 22 21:55:37 CET 2009
Author: glen Date: Thu Jan 22 20:55:37 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add libnetlink.3, verbose files
---- Files affected:
SPECS:
iproute2.spec (1.179 -> 1.180)
---- Diffs:
================================================================
Index: SPECS/iproute2.spec
diff -u SPECS/iproute2.spec:1.179 SPECS/iproute2.spec:1.180
--- SPECS/iproute2.spec:1.179 Thu Jan 22 10:27:26 2009
+++ SPECS/iproute2.spec Thu Jan 22 21:55:31 2009
@@ -18,11 +18,12 @@
Name: iproute2
# do not use ,,2.6.X'' as version here, put whole number like 2.6.8
Version: 2.6.28
-Release: 2
+Release: 3
License: GPL
Group: Networking/Admin
Source0: http://devresources.linux-foundation.org/dev/iproute2/download/%{name}-%{version}.tar.bz2
# Source0-md5: 595f9b17320f69e8d30d2fa80f1bca14
+Source1: libnetlink.3
Patch0: %{name}-build.patch
Patch1: %{name}-arp.patch
Patch3: %{name}-iptables.patch
@@ -51,8 +52,8 @@
BuildRequires: tetex-metafont
BuildRequires: tetex-tex-babel
%endif
-Obsoletes: iproute
Obsoletes: ifstat
+Obsoletes: iproute
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sbindir /sbin
@@ -133,7 +134,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_mandir}/man8,%{_libdir},%{_includedir},%{?with_tc:%{_libdir}/tc}}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_mandir}/man{3,8},%{_libdir},%{_includedir},%{?with_tc:%{_libdir}/tc}}
install ip/{ip,rtmon,routel} %{?with_tc:tc/tc} misc/{ifstat,lnstat,nstat,rtacct,ss} $RPM_BUILD_ROOT%{_sbindir}
install etc/iproute2/rt_protos \
@@ -142,9 +143,10 @@
etc/iproute2/rt_tables \
$RPM_BUILD_ROOT%{_sysconfdir}
-install man/man8/* $RPM_BUILD_ROOT%{_mandir}/man8
+cp -a man/man8/* $RPM_BUILD_ROOT%{_mandir}/man8
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
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man3
install lib/libnetlink.a $RPM_BUILD_ROOT%{_libdir}
install include/libnetlink.h $RPM_BUILD_ROOT%{_includedir}
@@ -157,9 +159,20 @@
%defattr(644,root,root,755)
%doc README README.decnet README.iproute2+tc README.lnstat RELNOTES
%doc ChangeLog %{?with_doc:doc/*.ps}
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/ifstat
+%attr(755,root,root) %{_sbindir}/ip
+%attr(755,root,root) %{_sbindir}/lnstat
+%attr(755,root,root) %{_sbindir}/nstat
+%attr(755,root,root) %{_sbindir}/routel
+%attr(755,root,root) %{_sbindir}/rtacct
+%attr(755,root,root) %{_sbindir}/rtmon
+%attr(755,root,root) %{_sbindir}/ss
+%attr(755,root,root) %{_sbindir}/tc
%dir %{_sysconfdir}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_protos
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_realms
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_scopes
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_tables
%{_mandir}/man8/*
%{?with_tc:%dir %{_libdir}/tc}
%{?with_tc:%attr(755,root,root) %{_libdir}/tc/*.so}
@@ -168,6 +181,7 @@
%defattr(644,root,root,755)
%{_libdir}/lib*.a
%{_includedir}/*.h
+%{_mandir}/man3/libnetlink.3*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -175,6 +189,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.180 2009/01/22 20:55:31 glen
+- add libnetlink.3, verbose files
+
Revision 1.179 2009/01/22 09:27:26 arekm
- ugly check that will prevent us from breaking again
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iproute2.spec?r1=1.179&r2=1.180&f=u
More information about the pld-cvs-commit
mailing list