auto-maintained URL tag
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 25 Oct 2007 23:04:25 +0000 (23:04 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 25 Oct 2007 23:04:25 +0000 (23:04 +0000)
PLCAPI.spec

index 81d139e..19673d6 100644 (file)
@@ -2,6 +2,8 @@
 # $Id$
 #
 
+%define url $URL$
+
 %define name PLCAPI
 %define version 4.1
 %define subversion 2
@@ -14,10 +16,9 @@ Version: %{version}
 Release: %{release}
 License: PlanetLab
 Group: System Environment/Daemons
-# too bad the spec syntax does not like this 
-#URL: $URL$
 Source0: %{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+URL: %(echo %{url} | cut -d ' ' -f 2)
 
 Obsoletes: plcapilib