From: Thierry Parmentelat Date: Thu, 25 Oct 2007 23:04:25 +0000 (+0000) Subject: auto-maintained URL tag X-Git-Tag: PLCAPI-4.2-0~55 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=77f4d25b41ca1598637c9052718a4a2516c57d78;p=plcapi.git auto-maintained URL tag --- diff --git a/PLCAPI.spec b/PLCAPI.spec index 81d139e..19673d6 100644 --- a/PLCAPI.spec +++ b/PLCAPI.spec @@ -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