From ab68bb335046510817aba84d74b32ef8b492ecceabc5cf013129751896fece4e Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 8 Nov 2010 13:46:18 +0000 Subject: [PATCH 1/3] Updating link to change in openSUSE:Factory/iproute2 revision 33.0 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=270bcf9ad3680b27a9afc1700c534b70 From 23f648ea8036252e36b7f1ebdd1ef7780e45138a9e3f0392b1c9747148ba43c3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 15 Nov 2010 22:12:28 +0000 Subject: [PATCH 2/3] Split documentation into its own subpackage OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=10 --- iproute2.spec | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/iproute2.spec b/iproute2.spec index 19e54d2..8861918 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -42,30 +42,36 @@ Patch10: %name-2.6.29-1-ss-pclose.diff Patch13: %name-2.6.29-1-memleak.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -%package -n libnetlink-devel -License: GPLv2+ -Summary: A Higher Level Interface to the Netlink Service -Group: Development/Libraries/C and C++ -Provides: libnetlink - -%description -n libnetlink-devel -libnetlink provides a higher level interface to rtnetlink(7). - - - %description This package provides the tools ip, tc, and rtmon needed to use the new and advanced routing options of the Linux kernel. The SUSE Linux distribution has used this package for network setup since SuSE Linux 8.0. - - Authors: -------- Alexey Kuznetsov Stephem Hemminger +%package -n libnetlink-devel +Summary: A Higher Level Interface to the Netlink Service +Group: Development/Libraries/C and C++ +Provides: libnetlink = %version-%release + +%description -n libnetlink-devel +libnetlink provides a higher level interface to rtnetlink(7). + +%package doc +Summary: Documentation to iproute2 +Group: Documentation +%if 0%{?suse_version} >= 1130 +BuildArch: noarch +%endif + +%description doc +This package contains the PDF documentation from iproute2, +as well as examples and other outdated files. + %prep %setup -q -n %name-%rversion %patch0 @@ -104,9 +110,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf README.iproute2+tc -%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf README -%doc RELNOTES ChangeLog examples/ README.decnet ip/ifcfg ip/routef ip/routel +%doc README* RELNOTES /usr/sbin/* /sbin/* /bin/ip @@ -121,8 +125,14 @@ rm -rf $RPM_BUILD_ROOT %dir /usr/share/tc %attr(644,root,root)/usr/share/tc/* +%files doc +%defattr(-,root,root) +%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf +%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf +%doc ChangeLog examples/ ip/ifcfg ip/routef ip/routel + %files -n libnetlink-devel -%defattr(644,root,root) +%defattr(-,root,root) /usr/include/* %_mandir/man3/libnetlink* %_libdir/lib* From 7de5a43f89b34b2a18e96e1a100831230d9830af5cb8444e75e1d463c6c74ea6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 15 Nov 2010 22:12:50 +0000 Subject: [PATCH 3/3] Split documentation into its own subpackage OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=11 --- iproute2.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iproute2.changes b/iproute2.changes index 5626062..626f023 100644 --- a/iproute2.changes +++ b/iproute2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 15 22:12:32 UTC 2010 - jengelh@medozas.de + +- Split documentation into its own subpackage, reducing the size + of the main package by ~500K + ------------------------------------------------------------------- Wed Nov 3 21:22:47 UTC 2010 - jengelh@medozas.de