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")