ss.8 update, point to a versioned doc directory

This commit is contained in:
Petr Sabata 2010-11-09 11:32:13 +01:00
parent a3822ddc4b
commit 6ae1797be8
2 changed files with 7 additions and 4 deletions

View File

@ -4,7 +4,7 @@
Summary: Advanced IP routing and network device configuration tools Summary: Advanced IP routing and network device configuration tools
Name: iproute Name: iproute
Version: 2.6.35 Version: 2.6.35
Release: 7%{?dist} Release: 8%{?dist}
Group: Applications/System Group: Applications/System
##Source: iproute2-%{date_version}.tar.bz2 ##Source: iproute2-%{date_version}.tar.bz2
Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2 Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2
@ -45,6 +45,7 @@ The iproute documentation contains howtos and examples of settings.
%prep %prep
%setup -q -n iproute2-%{version} %setup -q -n iproute2-%{version}
%patch0 -p1 %patch0 -p1
sed -i "s/_VERSION_/%{version}/" man/man8/ss.8
%patch1 -p1 -b .kernel %patch1 -p1 -b .kernel
%patch2 -p1 -b .opt_flags %patch2 -p1 -b .opt_flags
%patch3 -p1 -b .seg %patch3 -p1 -b .seg
@ -59,7 +60,6 @@ The iproute documentation contains howtos and examples of settings.
%build %build
export LIBDIR=/%{_libdir} export LIBDIR=/%{_libdir}
export IPT_LIB_DIR=/%{_lib}/xtables export IPT_LIB_DIR=/%{_lib}/xtables
./configure ./configure
make %{?_smp_mflags} make %{?_smp_mflags}
make -C doc make -C doc
@ -136,7 +136,10 @@ EOF
%doc RELNOTES %doc RELNOTES
%changelog %changelog
* Tue Oct 12 2010 Petr Sabata <psabata@redhat.com> - 2.6.33-7 * Tue Nov 09 2010 Petr Sabata <psabata@redhat.com> - 2.6.35-8
- rhbz#641599, use the versioned path, man-pages.patch update, prep update
* Tue Oct 12 2010 Petr Sabata <psabata@redhat.com> - 2.6.35-7
- Do not segfault if peer name is omitted when creating a peer veth link, rhbz#642322 - Do not segfault if peer name is omitted when creating a peer veth link, rhbz#642322
* Mon Oct 11 2010 Petr Sabata <psabata@redhat.com> - 2.6.35-6 * Mon Oct 11 2010 Petr Sabata <psabata@redhat.com> - 2.6.35-6

View File

@ -90,7 +90,7 @@ diff -up iproute2-2.6.29/iproute2-2.6.29/man/man8/ip.8.mm iproute2-2.6.29/iprout
.SH SEE ALSO .SH SEE ALSO
.BR ip (8), .BR ip (8),
-.BR /usr/share/doc/iproute-doc/ss.html " (package iproute­doc)" -.BR /usr/share/doc/iproute-doc/ss.html " (package iproute­doc)"
+.BR /usr/share/doc/iproute-doc/ss.ps " (package iproute-doc)" +.BR /usr/share/doc/iproute-doc-_VERSION_/ss.ps " (package iproute-doc)"
.SH AUTHOR .SH AUTHOR
.I ss .I ss
was written by Alexey Kuznetosv, <kuznet@ms2.inr.ac.ru>. was written by Alexey Kuznetosv, <kuznet@ms2.inr.ac.ru>.