diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2020-04-07 17:41:56 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2020-04-07 17:41:56 +0200 |
commit | 72a6ad20139ef2d5dc5a8f3158e3b4660ecf450d (patch) | |
tree | c85fe1bb641e5e957f6fe99046e2a423b787996e | |
parent | cf505eaea88a512d902aa8aba7136e0e584faf09 (diff) | |
download | i3-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-x | travis/check-spelling.pl | 7 |
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; |