Merge pull request #3994 from stapelberg/lintian

check-spelling: update to new Lintian::Profile API
next
Ingo Bürk 2020-04-07 17:47:46 +02:00 committed by GitHub
commit 47732a4d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -17,8 +17,11 @@ use Lintian::Spelling qw(check_spelling);
# Lintian complains if we dont 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;