X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa.spec;h=eb23ec46bc7367439471abacbe940fb8026136d3;hb=4130e72e646c0576d695fcf9c739561764dcaba8;hp=fb176da4e82313ead5df0aadd584e211bd6b0557;hpb=005a68efd6b28e0bbbfc70485222f45fa3db9a8c;p=sfa.git diff --git a/sfa.spec b/sfa.spec index fb176da4..eb23ec46 100644 --- a/sfa.spec +++ b/sfa.spec @@ -1,6 +1,3 @@ - -%define url $URL$ - %define name sfa %define version 1.0 %define taglevel 6 @@ -20,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %SCMURL} Summary: the SFA python libraries Group: Applications/System @@ -105,11 +102,11 @@ Provides some binary unit tests in /usr/share/sfa/tests %setup -q %build -make VERSION=%{version}-%{taglevel} +make VERSIONTAG="%{version}-%{taglevel}" SCMURL="%{SCMURL}" %install rm -rf $RPM_BUILD_ROOT -make install VERSION=%{version}-%{taglevel} DESTDIR="$RPM_BUILD_ROOT" +make VERSIONTAG="%{version}-%{taglevel}" SCMURL="%{SCMURL}" install DESTDIR="$RPM_BUILD_ROOT" %clean rm -rf $RPM_BUILD_ROOT