check-spelling: update to new Lintian::Profile API
This changed between Lintian 2.62.0 and 2.64.0.
This commit is contained in:
parent
cf505eaea8
commit
72a6ad2013
|
@ -17,8 +17,11 @@ use Lintian::Spelling qw(check_spelling);
|
|||
# Lintian complains if we don’t set a vendor.
|
||||
use Lintian::Data;
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue