From 3b0b3f79767759b604efd2308e2bd884b2474594 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakub=20Ru=C5=BEi=C4=8Dka?= Date: Thu, 12 Jun 2025 13:24:25 +0200 Subject: [PATCH] distro/tests: update test dependencies Depend on man on almalinux. Also shorten distro.match invocations for readability. --- distro/tests/extra/all/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distro/tests/extra/all/control b/distro/tests/extra/all/control index 1130b04dc..d11c79371 100644 --- a/distro/tests/extra/all/control +++ b/distro/tests/extra/all/control @@ -19,7 +19,7 @@ Tests-Directory: tests/packaging Restrictions: needs-root {% if distro.match('fedora') -%} Depends: knot-utils, jq, curl, procps -{% elif distro.match('debian') or distro.match('ubuntu') -%} +{% elif distro.match('debian', 'ubuntu') -%} Depends: knot-dnsutils, jq, curl, procps {% elif distro.match('arch') -%} Depends: knot, jq, curl @@ -36,6 +36,6 @@ Depends: unsupported-distro-this-package-does-not-exist-and-the-test-should-fail Tests: manpage.sh Tests-Directory: tests/packaging -{% if distro.match('fedora') or distro.match('rocky') or distro.match('opensuse') -%} +{% if distro.match('fedora', 'almalinux', 'rocky', 'opensuse') -%} Depends: man {%- endif %} -- 2.47.2