Commit 137e922e authored by Julien Muchembled's avatar Julien Muchembled

re6st: default SLAPOS_EPOCH to 1

because for Debian, 0.479+slapos.gfd8673b is newer than 0.479+slapos2.g12d4231
parent 55a54400
......@@ -95,7 +95,7 @@ def sdist_version(egg):
MTIME = os.stat(egg).st_mtime
VERSION = "%s+slapos%s.g%s" % (
egg.rsplit("-", 1)[1].split(".tar.")[0],
os.getenv("SLAPOS_EPOCH", ""),
os.getenv("SLAPOS_EPOCH", "1"),
check_output(("git", "rev-parse", "--short", "HEAD"),
cwd="slapos").strip())
tarball.provides = "%s/%s_%s.tar.gz" % (DIST, PACKAGE, VERSION),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment