mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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>
This commit is contained in:
parent
05c28fee21
commit
148306674d
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user