SHA256
1
0
forked from pool/iproute2

Accepting request 53410 from security:netfilter

Accepted submit request 53410 from user coolo

OBS-URL: https://build.opensuse.org/request/show/53410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iproute2?expand=0&rev=34
This commit is contained in:
Ruediger Oertel 2010-11-20 10:30:58 +00:00 committed by Git OBS Bridge
commit bb492b90db
2 changed files with 33 additions and 17 deletions

View File

@ -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

View File

@ -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 <kuznet at ms2 dot inr dot ac dot ru>
Stephem Hemminger <shemminger at osdl dot org>
%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*