Fix FTBFS due to newest tar being picker about arguments order

Closes: #897478
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
This commit is contained in:
Mattia Rizzolo 2018-05-10 10:38:25 +02:00
parent 10299855a5
commit 607f5a712f
No known key found for this signature in database
GPG Key ID: 0816B9E18C762BAD

View File

@ -35,10 +35,15 @@ class ExamplePackage(object):
"Create .orig.tar.gz"
orig = '%s_%s.orig.tar.gz' % (self.source,
self.version.upstream_version)
subprocess.check_call(('tar', '-czf', orig,
os.path.basename(self.srcdir),
'--exclude', 'debian'),
cwd='test-data')
subprocess.check_call(
(
'tar',
'-czf', orig,
'--exclude', 'debian',
os.path.basename(self.srcdir),
),
cwd='test-data'
)
def changelog_entry(self, version=None, create=False):
"Add a changelog entry"