aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2020-04-07 17:41:56 +0200
committerMichael Stapelberg <michael@stapelberg.de>2020-04-07 17:41:56 +0200
commit72a6ad20139ef2d5dc5a8f3158e3b4660ecf450d (patch)
treec85fe1bb641e5e957f6fe99046e2a423b787996e
parentcf505eaea88a512d902aa8aba7136e0e584faf09 (diff)
downloadi3-72a6ad20139ef2d5dc5a8f3158e3b4660ecf450d.tar.gz
i3-72a6ad20139ef2d5dc5a8f3158e3b4660ecf450d.zip
check-spelling: update to new Lintian::Profile API
This changed between Lintian 2.62.0 and 2.64.0.
-rwxr-xr-xtravis/check-spelling.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/travis/check-spelling.pl b/travis/check-spelling.pl
index 2a112c50..45770c5e 100755
--- a/travis/check-spelling.pl
+++ b/travis/check-spelling.pl
@@ -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;