mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
ack-sync, dgetlp, grab-merge, syncpackage: Export DEB_VENDOR=Ubuntu when
unpacking source packages. 3.0 (quilt) has optional per-vendor patch series.
This commit is contained in:
parent
d28b99753e
commit
df87493df5
4
ack-sync
4
ack-sync
@ -251,7 +251,9 @@ def main(bug_numbers, all_package, all_version, all_section, update,
|
||||
upload = True
|
||||
|
||||
# extract source
|
||||
subprocess.check_call(["dpkg-source", "-x", dsc_file])
|
||||
env = os.environ
|
||||
env['DEB_VENDOR'] = 'Ubuntu'
|
||||
subprocess.check_call(["dpkg-source", "-x", dsc_file], env=env)
|
||||
|
||||
build_source(dist, dsc_file)
|
||||
|
||||
|
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -7,8 +7,11 @@ ubuntu-dev-tools (0.107) UNRELEASED; urgency=low
|
||||
- Sort debian/install as well as debian/*.install
|
||||
- Add one-space-indentation option: --short-indent
|
||||
- Remove null-entry from trailing comma in sorted lists
|
||||
* ack-sync, dgetlp, grab-merge, syncpackage: Export DEB_VENDOR=Ubuntu when
|
||||
unpacking source packages. 3.0 (quilt) has optional per-vendor patch
|
||||
series.
|
||||
|
||||
-- Stefano Rivera <stefanor@ubuntu.com> Wed, 24 Nov 2010 20:02:21 +0200
|
||||
-- Stefano Rivera <stefanor@ubuntu.com> Wed, 24 Nov 2010 21:04:46 +0200
|
||||
|
||||
ubuntu-dev-tools (0.106) experimental; urgency=low
|
||||
|
||||
|
5
dgetlp
5
dgetlp
@ -221,9 +221,12 @@ def Download(dscinfo, number, filename, verify=True):
|
||||
error(107, "Error: %s", e)
|
||||
|
||||
def unpack():
|
||||
# Source format 3.0 can apply patches based on vendor
|
||||
env = os.environ
|
||||
env['DEB_VENDOR'] = 'Ubuntu'
|
||||
out = open('/dev/null', 'w')
|
||||
err = open('/dev/null', 'w')
|
||||
ret = subprocess.call(unpack_cmd.split(), stdout=out, stderr=err)
|
||||
ret = subprocess.Popen(unpack_cmd.split(), stdout=out, stderr=err, env=env)
|
||||
out.close()
|
||||
err.close()
|
||||
if ret:
|
||||
|
@ -80,7 +80,7 @@ echo
|
||||
|
||||
if grep "^generated: " REPORT >/dev/null; then
|
||||
VERSION=$(sed -n -e "/^generated:/s/^generated: *//p" REPORT)
|
||||
dpkg-source -x ${MERGE}_${VERSION#*:}.dsc
|
||||
DEB_VENDOR=Ubuntu dpkg-source -x ${MERGE}_${VERSION#*:}.dsc
|
||||
echo
|
||||
else
|
||||
TARBALL=$(sed -n -e "/\.src\.tar\.gz$/p" REPORT)
|
||||
|
@ -275,11 +275,13 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs,
|
||||
|
||||
# extract package
|
||||
cmd = ['dpkg-source', '-x', dscname]
|
||||
env = os.environ
|
||||
env['DEB_VENDOR'] = 'Ubuntu'
|
||||
if not verbose:
|
||||
cmd.insert(1, "-q")
|
||||
if verbose:
|
||||
print_command(script_name, cmd)
|
||||
subprocess.check_call(cmd)
|
||||
subprocess.check_call(cmd, env=env)
|
||||
|
||||
# Do a fake sync if required
|
||||
if len(fakesync_files) > 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user