Forgotten DEB_VENDOR change for pull-lp-source

This commit is contained in:
Stefano Rivera 2010-11-24 21:32:45 +02:00
parent ddf5199752
commit 937e6c3aee
2 changed files with 7 additions and 4 deletions

6
debian/changelog vendored
View File

@ -7,11 +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
* dgetlp, grab-merge, pull-lp-source, 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 21:04:46 +0200
-- Stefano Rivera <stefanor@ubuntu.com> Wed, 24 Nov 2010 21:31:51 +0200
ubuntu-dev-tools (0.106) experimental; urgency=low

View File

@ -75,10 +75,13 @@ if __name__ == '__main__':
dsc_url = [url for url in spph.sourceFileUrls() if url.endswith('.dsc')]
assert dsc_url, 'No .dsc file found'
env = os.environ
env['DEB_VENDOR'] = 'Ubuntu'
# All good - start downloading...
print 'Fetching the source for %s from %s (%s)...' % (
package, release.capitalize(), pocket)
if subprocess.call(['/usr/bin/dget', '-xu', dsc_url[0]]) == 0:
if subprocess.call(['/usr/bin/dget', '-xu', dsc_url[0]], env=env) == 0:
print 'Success!'
else:
print 'Failed to fetch and extrace the source.', \