From 34ca8072ff650f89e9f742498285cfc9dff2011c Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 8 Nov 2012 20:43:55 +0100 Subject: [PATCH] sponsor-patch: Use ubuntu profile when running lintian. --- debian/changelog | 6 ++++++ ubuntutools/sponsor_patch/source_package.py | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b66d7a3..74a64e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ubuntu-dev-tools (0.146) UNRELEASED; urgency=low + + * sponsor-patch: Use ubuntu profile when running lintian. + + -- Benjamin Drung Thu, 08 Nov 2012 19:27:03 +0100 + ubuntu-dev-tools (0.145) experimental; urgency=low [ Stefano Rivera ] diff --git a/ubuntutools/sponsor_patch/source_package.py b/ubuntutools/sponsor_patch/source_package.py index a26ba5b..fcbc9e0 100644 --- a/ubuntutools/sponsor_patch/source_package.py +++ b/ubuntutools/sponsor_patch/source_package.py @@ -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")