From: Jakub Ružička Date: Fri, 13 Jun 2025 11:22:37 +0000 (+0200) Subject: distro/tests: fix apkg test Depends X-Git-Tag: v3.5.0~62^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f443c4251fb1f7e40ddcbd282678d4f87abced;p=thirdparty%2Fknot-dns.git distro/tests: fix apkg test Depends It's not possible to distro.match() against pkgstyles such as `rpm` or `deb` with current apkg. --- diff --git a/distro/tests/extra/all/control b/distro/tests/extra/all/control index 6f9da6b098..cef30243d2 100644 --- a/distro/tests/extra/all/control +++ b/distro/tests/extra/all/control @@ -1,8 +1,8 @@ Tests: kdig Restrictions: skippable -{%- if distro.match('deb') %} +{%- if distro.match('debian', 'ubuntu') %} Depends: iputils-ping, ca-certificates -{%- elif distro.match('rpm') %} +{%- elif distro.match('almalinux', 'centos', 'fedora', 'opensuse', 'rhel', 'rocky') %} Depends: iputils {%- endif %}