use taglevel rather than subversion for minor release number
[iproute2.git] / iproute.spec
index e459e9a..44945f4 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 taglevel 1
+
+%define release %{taglevel}%{?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}