git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66276a8
)
provide a more decent default to SCMURL for version.py when not run from within a...
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Mon, 15 Sep 2014 07:46:01 +0000
(09:46 +0200)
committer
Thierry 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
patch
|
blob
|
history
diff --git
a/Makefile
b/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