summaryrefslogtreecommitdiff
path: root/ctdb/wscript
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-03-07 17:53:25 +1100
committerAmitay Isaacs <amitay@samba.org>2019-03-15 05:17:14 +0000
commit148306674d0e4706adca3e5dcbb779c51a2c03da (patch)
tree2c6f59214b05421cd9b1d4fb6f1ff72a5cf89ba2 /ctdb/wscript
parent05c28fee21c0cc986cb8301f4199595cdb13faee (diff)
downloadsamba-148306674d0e4706adca3e5dcbb779c51a2c03da.tar.gz
ctdb-build: Drop creation of .distversion in tarball
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13789 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/wscript')
-rw-r--r--ctdb/wscript8
1 files changed, 0 insertions, 8 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index 975235941cb..3c162e1a39c 100644
--- a/ctdb/wscript
+++ b/ctdb/wscript
@@ -1166,14 +1166,6 @@ def manpages(ctx):
def distonly(ctx):
samba_dist.DIST_FILES('VERSION:VERSION', extend=True)
- version = get_version()
-
- distfile = open('.distversion', 'w')
- for field in version.vcs_fields:
- distfile.write('%s=%s\n' % (field, str(version.vcs_fields[field])))
- distfile.close()
- samba_dist.DIST_FILES('ctdb/.distversion:.distversion', extend=True)
-
t = 'ctdb.spec'
sed_expr1 = 's/@VERSION@/%s/g' % get_version_string()
sed_expr2 = 's/@RELEASE@/%s/g' % '1'