Browse Source

iproute:
- drop tex documents (almost same as man pages...)
- remove BR: texlive, linuxdoc-tools
- fix %%files


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3546 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 14 years ago
parent
commit
c1249488fe
1 changed files with 7 additions and 15 deletions
  1. 7 15
      i/iproute/iproute-vl.spec

+ 7 - 15
i/iproute/iproute-vl.spec

@@ -5,10 +5,9 @@ Summary: Advanced IP routing and network device configuration tools
 Summary(ja): IP ルーティング,ネットワークデバイスの設定ツール
 Name: iproute
 Version: 2.6.31
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
 Group: Applications/System
 Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2
-#Source1: iproute-doc-2.6.22.tar.gz
 URL:	http://linux-net.osdl.org/index.php/Iproute2
 Patch0: man-pages.patch
 Patch1: iproute2-2.6.29-kernel.patch
@@ -26,8 +25,6 @@ Patch100: iproute2-2.6.15-platex.patch
 
 License: GPLv2+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: linuxdoc-tools
-BuildRequires: texlive
 BuildRequires: flex psutils db4-devel bison
 
 
@@ -72,8 +69,6 @@ Libraries, include files, etc you can use to develop iproute2.
 export LIBDIR=%{_libdir}
 
 make %{?_smp_mflags}
-make -C doc
-
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@ -107,13 +102,6 @@ install -m 644 etc/iproute2/* $RPM_BUILD_ROOT%{_sysconfdir}/iproute2
 cp -f etc/iproute2/* $RPM_BUILD_ROOT/%{_sysconfdir}/iproute2
 rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug/*
 
-#copy the tex file from source for time when tex was broken
-#source1 was created from last functional version
-#tar -xvzf %{SOURCE1}
-#mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
-#cd %{name}-doc-2.6.22
-#cp -pR *.ps ../doc
-
 #create example avpkt file
 cat <<EOF > $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cbq/cbq-0000.example
 DEVICE=eth0,10Mbit,1Mbit
@@ -135,8 +123,8 @@ EOF
 %files
 %defattr(-,root,root,-)
 %dir %{_sysconfdir}/iproute2
-%doc iproute2-%{version}/README.decnet iproute2-%{version}/README.iproute2+tc iproute2-%{version}/RELNOTES iproute2-%{version}/examples/README.cbq
-%doc iproute2-%{version}/doc/*.ps 
+%doc README.decnet README.iproute2+tc RELNOTES
+%doc examples
 %doc iproute2-%{version}/examples
 /sbin/*
 %{_mandir}/man8/*
@@ -158,6 +146,10 @@ EOF
 
 
 %changelog
+* Mon Apr 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.31-5
+- don't build/include documents. (almost same as man pages...)
+- remove BR: texlive ,linuxdoc-tools
+
 * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> - 2.6.31-4
 - rebuilt with rpm-4.8.1-3