arranged for the module-tagging script
[iproute2.git] / iproute.spec
index 702a5f3..5bc4aa8 100644 (file)
@@ -1,11 +1,18 @@
+#
+# $Id: myplc.spec 7268 2007-12-01 00:09:11Z dhozac $
+#
+%define url $URL$
+
 %define name iproute
 %define version 2.6.16
-%define release 1%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+%define subversion 1
+
+%define release %{subversion}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
 
 Vendor: PlanetLab
 Packager: PlanetLab Central <support@planet-lab.org>
-Distribution: PlanetLab 3.0
-URL: http://cvs.planet-lab.org/cvs/iptables
+Distribution: PlanetLab %{plrelease}
+URL: %(echo %{url} | cut -d ' ' -f 2)
 
 Summary: Advanced IP routing and network device configuration tools.
 Name: %{name}
@@ -28,7 +35,7 @@ Source: %{name}-%{version}.tar.gz
 %define SOURCE11 tc-tbf.8
 License: GNU GPL
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildPrereq: tetex-latex tetex-dvips psutils linuxdoc-tools db4-devel bison
+BuildPrereq: tetex-latex tetex-dvips psutils linuxdoc-tools db4-devel bison flex
 
 %description
 The iproute package contains networking utilities (ip and rtmon, for