provide a more decent default to SCMURL for version.py when not run from within a...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 15 Sep 2014 07:46:01 +0000 (09:46 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 15 Sep 2014 07:46:01 +0000 (09:46 +0200)
hopefully useful for when pushing onto pypi - if we can get that to work

Makefile

index ddfac30..76392a9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,8 @@ rpmversion:=$(shell rpm -q --specfile sfa.spec --queryformat="%{version}\n" | he
 # somehow %{taglevel} is empty, turns out %{release} has what we want
 rpmtaglevel:=$(shell rpm -q --specfile sfa.spec --queryformat="%{release}\n" 2> /dev/null | head -1)
 VERSIONTAG=$(rpmversion)-$(rpmtaglevel)
-SCMURL=should-be-redefined-by-specfile
+# this used to be 'should-be-redefined-by-specfile' and it indeed should be
+SCMURL=git://git.onelab.eu/sfa.git
 
 python: version