sponsor-patch: Use ubuntu profile when running lintian.

This commit is contained in:
Benjamin Drung 2012-11-08 20:43:55 +01:00
parent 60e063e484
commit 34ca8072ff
2 changed files with 8 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ubuntu-dev-tools (0.146) UNRELEASED; urgency=low
* sponsor-patch: Use ubuntu profile when running lintian.
-- Benjamin Drung <bdrung@debian.org> Thu, 08 Nov 2012 19:27:03 +0100
ubuntu-dev-tools (0.145) experimental; urgency=low
[ Stefano Rivera ]

View File

@ -426,7 +426,8 @@ class SourcePackage(object):
# Check lintian
assert os.path.isfile(changes_for_lintian), "%s does not exist." % \
(changes_for_lintian)
cmd = ["lintian", "-IE", "--pedantic", "-q", changes_for_lintian]
cmd = ["lintian", "-IE", "--pedantic", "-q", "--profile", "ubuntu",
changes_for_lintian]
lintian_filename = os.path.join(self._workdir,
self._package + "_" +
strip_epoch(self._version) + ".lintian")