summaryrefslogtreecommitdiff
path: root/ick_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick_helpers.py')
-rw-r--r--ick_helpers.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ick_helpers.py b/ick_helpers.py
index b363b45..b1c9e2f 100644
--- a/ick_helpers.py
+++ b/ick_helpers.py
@@ -190,11 +190,9 @@ class DebianBuilderBase:
env = dict(os.environ)
env['DEBFULLNAME'] = self.debfullname
env['DEBEMAIL'] = self.debemail
- newver = '{}.{}'.format(version.full, distribution)
- debug('newver:', newver)
msg = 'Build in ick.'
self.ex.run(
- 'dch', '--no-conf', '-v', newver, '-D', distribution,
+ 'dch', '--no-conf', '-v', str(version), '-D', distribution,
'--force-distribution', msg, env=env)
self.ex.run('dch', '--no-conf', '-r', '', env=env)
@@ -222,6 +220,9 @@ class DebianReleaseBuilder(DebianBuilderBase):
version = self.get_version()
curdist = self.get_distribution()
+ morever = '.{}'.format(distribution)
+ version.upstream_append(morever)
+
orig_tarball = self.create_debian_orig_tarball(
upstream_tarball, source, version)