Merge pull request #3994 from stapelberg/lintian
check-spelling: update to new Lintian::Profile API
This commit is contained in:
commit
47732a4d9b
|
@ -17,8 +17,11 @@ use Lintian::Spelling qw(check_spelling);
|
||||||
# Lintian complains if we don’t set a vendor.
|
# Lintian complains if we don’t set a vendor.
|
||||||
use Lintian::Data;
|
use Lintian::Data;
|
||||||
use Lintian::Profile;
|
use Lintian::Profile;
|
||||||
Lintian::Data->set_vendor(
|
|
||||||
Lintian::Profile->new('debian', ['/usr/share/lintian'], {}));
|
my $profile = Lintian::Profile->new;
|
||||||
|
$profile->load('debian', ['/usr/share/lintian']);
|
||||||
|
|
||||||
|
Lintian::Data->set_vendor($profile);
|
||||||
|
|
||||||
my $exitcode = 0;
|
my $exitcode = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue