mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-20 13:21:28 +00:00
syncpackage, backportpackage, sponsor-patch: Use -nc when building source
packages. Avoids needing build-deps on the build machine.
This commit is contained in:
parent
69d226d489
commit
f124357734
@ -247,7 +247,7 @@ def do_backport(workdir, pkg, suffix, release, release_pocket, build, builder,
|
|||||||
'--distribution', bp_dist,
|
'--distribution', bp_dist,
|
||||||
'No-change backport to %s' % release],
|
'No-change backport to %s' % release],
|
||||||
cwd=srcdir)
|
cwd=srcdir)
|
||||||
check_call(['debuild', '--no-lintian', '-S', '-sa'], cwd=srcdir)
|
check_call(['debuild', '--no-lintian', '-S', '-nc', '-sa'], cwd=srcdir)
|
||||||
|
|
||||||
fn_base = pkg.source + '_' + bp_version.split(':', 1)[-1]
|
fn_base = pkg.source + '_' + bp_version.split(':', 1)[-1]
|
||||||
|
|
||||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
ubuntu-dev-tools (0.139) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* syncpackage, backportpackage, sponsor-patch: Use -nc when building source
|
||||||
|
packages. Avoids needing build-deps on the build machine.
|
||||||
|
|
||||||
|
-- Stefano Rivera <stefanor@debian.org> Fri, 23 Dec 2011 22:33:17 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.138) unstable; urgency=low
|
ubuntu-dev-tools (0.138) unstable; urgency=low
|
||||||
|
|
||||||
[ Benjamin Drung ]
|
[ Benjamin Drung ]
|
||||||
|
@ -265,7 +265,8 @@ def sync_dsc(src_pkg, debian_dist, release, name, email, bugs, ubuntu_mirror,
|
|||||||
subprocess.check_call(cmd)
|
subprocess.check_call(cmd)
|
||||||
|
|
||||||
# Build source package
|
# Build source package
|
||||||
cmd = ["debuild", "--no-lintian", "-S", "-v" + cur_ver.full_version]
|
cmd = ["debuild", "--no-lintian", "-nc", "-S",
|
||||||
|
"-v" + cur_ver.full_version]
|
||||||
if need_orig:
|
if need_orig:
|
||||||
cmd += ['-sa']
|
cmd += ['-sa']
|
||||||
if keyid:
|
if keyid:
|
||||||
|
@ -225,9 +225,9 @@ class SourcePackage(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if self._branch:
|
if self._branch:
|
||||||
cmd = ['bzr', 'builddeb', '-S', '--', '--no-lintian']
|
cmd = ['bzr', 'builddeb', '-S', '--', '-nc', '--no-lintian']
|
||||||
else:
|
else:
|
||||||
cmd = ['debuild', '--no-lintian', '-S']
|
cmd = ['debuild', '--no-lintian', '-nc', '-S']
|
||||||
cmd.append("-v" + previous_version.full_version)
|
cmd.append("-v" + previous_version.full_version)
|
||||||
if previous_version.upstream_version == \
|
if previous_version.upstream_version == \
|
||||||
self._changelog.upstream_version and upload == "ubuntu":
|
self._changelog.upstream_version and upload == "ubuntu":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user