mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
ubuntutools/test/example_package.py: Use dpkg-source directly instead of
dpkg-buildpackage to avoid running fakeroot inside fakeroot which leads to a FTBFS on natty.
This commit is contained in:
parent
cfa69ccf43
commit
c175f31ea7
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -8,6 +8,9 @@ ubuntu-dev-tools (0.116) UNRELEASED; urgency=low
|
|||||||
* *distro-info: Add a "created" column to the data.
|
* *distro-info: Add a "created" column to the data.
|
||||||
* wrap-and-sort: Wrap and sort Build-Conflicts too.
|
* wrap-and-sort: Wrap and sort Build-Conflicts too.
|
||||||
* Move debian-keyring from Suggests to Recommends (LP: #717245).
|
* Move debian-keyring from Suggests to Recommends (LP: #717245).
|
||||||
|
* ubuntutools/test/example_package.py: Use dpkg-source directly instead of
|
||||||
|
dpkg-buildpackage to avoid running fakeroot inside fakeroot which leads
|
||||||
|
to a FTBFS on natty.
|
||||||
|
|
||||||
[ Stefano Rivera ]
|
[ Stefano Rivera ]
|
||||||
* debian/copyright:
|
* debian/copyright:
|
||||||
@ -26,7 +29,7 @@ ubuntu-dev-tools (0.116) UNRELEASED; urgency=low
|
|||||||
* Use the new web_link attribute of LP objects instead of our own
|
* Use the new web_link attribute of LP objects instead of our own
|
||||||
translate_api_web() function.
|
translate_api_web() function.
|
||||||
|
|
||||||
-- Benjamin Drung <bdrung@debian.org> Sat, 12 Feb 2011 14:15:59 +0100
|
-- Benjamin Drung <bdrung@debian.org> Sat, 12 Feb 2011 16:35:33 +0100
|
||||||
|
|
||||||
ubuntu-dev-tools (0.115) unstable; urgency=low
|
ubuntu-dev-tools (0.115) unstable; urgency=low
|
||||||
|
|
||||||
|
@ -54,9 +54,8 @@ class ExamplePackage(object):
|
|||||||
def create(self):
|
def create(self):
|
||||||
"Build source package"
|
"Build source package"
|
||||||
self.changelog_entry(create=True)
|
self.changelog_entry(create=True)
|
||||||
subprocess.check_call(('dpkg-buildpackage', '-rfakeroot', '-S',
|
(basename, dirname) = os.path.split(self.srcdir)
|
||||||
'-uc', '-us'),
|
subprocess.check_call(('dpkg-source', '-b', dirname), cwd=basename)
|
||||||
cwd=self.srcdir)
|
|
||||||
|
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
"Remove srcdir"
|
"Remove srcdir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user