]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist.spec: skip libxdp-devel for rhel8-aarch64
authorromeroalx <alexis.romero@open-xchange.com>
Tue, 21 May 2024 15:10:45 +0000 (17:10 +0200)
committerromeroalx <alexis.romero@open-xchange.com>
Tue, 4 Jun 2024 08:09:26 +0000 (10:09 +0200)
builder-support/specs/dnsdist.spec

index 7f8747a1898d2b9f4d05ce79483f2eb5bedf9161..182b7887a2835917099a28cd665b58a2c55cac10 100644 (file)
@@ -55,7 +55,7 @@ Requires(pre): shadow-utils
 BuildRequires: fstrm-devel
 %systemd_requires
 %endif
-%if 0%{?rhel} >= 8
+%if ( "%{_arch}" != "aarch64" && 0%{?rhel} >= 8 ) || ( "%{_arch}" == "aarch64" && 0%{?rhel} >= 9 )
 BuildRequires: libbpf-devel
 BuildRequires: libxdp-devel
 %endif