mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-09 07:51:28 +00:00
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:
parent
10299855a5
commit
607f5a712f
@ -35,10 +35,15 @@ class ExamplePackage(object):
|
|||||||
"Create .orig.tar.gz"
|
"Create .orig.tar.gz"
|
||||||
orig = '%s_%s.orig.tar.gz' % (self.source,
|
orig = '%s_%s.orig.tar.gz' % (self.source,
|
||||||
self.version.upstream_version)
|
self.version.upstream_version)
|
||||||
subprocess.check_call(('tar', '-czf', orig,
|
subprocess.check_call(
|
||||||
|
(
|
||||||
|
'tar',
|
||||||
|
'-czf', orig,
|
||||||
|
'--exclude', 'debian',
|
||||||
os.path.basename(self.srcdir),
|
os.path.basename(self.srcdir),
|
||||||
'--exclude', 'debian'),
|
),
|
||||||
cwd='test-data')
|
cwd='test-data'
|
||||||
|
)
|
||||||
|
|
||||||
def changelog_entry(self, version=None, create=False):
|
def changelog_entry(self, version=None, create=False):
|
||||||
"Add a changelog entry"
|
"Add a changelog entry"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user