debian: Add lintian override for woff-font-in-wrong-dir

In Debian Testing this was renamed or newly added, basically the same
lintian rule as font-outside-font-dir.
This commit is contained in:
Jelle van der Waa 2026-10-16 16:53:09 +02:00 committed by Jelle van der Waa
parent d3488cc1a3
commit 7acfbe6d92
2 changed files with 4 additions and 0 deletions

View file

@ -127,6 +127,9 @@ def build_install_package(dist_tars: list[str], image: str, *, quick: bool) -> l
# older OSes don't yet know about watch format v5 # older OSes don't yet know about watch format v5
if image in ["debian-trixie"]: if image in ["debian-trixie"]:
suppress.add("missing-debian-watch-file-standard") suppress.add("missing-debian-watch-file-standard")
# HACK: Debian trixie does not know about woff-font-in-wrong-dir and you cannot suppress unknown tags.
# So instead we suppress the no unknown tags lintian rule.
suppress.add("alien-tag")
args.append(fr""" args.append(fr"""
cd /var/tmp/build; cd /var/tmp/build;

View file

@ -1,4 +1,5 @@
cockpit-ws: font-outside-font-dir *usr/share/cockpit/static/fonts/* cockpit-ws: font-outside-font-dir *usr/share/cockpit/static/fonts/*
cockpit-ws: woff-font-in-wrong-dir *usr/share/cockpit/static/fonts/*
cockpit-ws: font-in-non-font-package *usr/share/cockpit/static/fonts/* cockpit-ws: font-in-non-font-package *usr/share/cockpit/static/fonts/*
cockpit-ws: package-contains-documentation-outside-usr-share-doc *usr/share/cockpit/*html* cockpit-ws: package-contains-documentation-outside-usr-share-doc *usr/share/cockpit/*html*
# the binaries are in /usr/lib/cockpit, but we still want to document them # the binaries are in /usr/lib/cockpit, but we still want to document them