From 7e1906a7ba61a1059a4f4f630717fef1248d286f Mon Sep 17 00:00:00 2001 From: romeroalx Date: Tue, 21 May 2024 17:10:45 +0200 Subject: [PATCH] dnsdist.spec: skip libxdp-devel for rhel8-aarch64 (cherry picked from commit 7b070182728b4537489fcf33e6c382a93becb4a9) --- builder-support/specs/dnsdist.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder-support/specs/dnsdist.spec b/builder-support/specs/dnsdist.spec index 407a03d3cd7a..10ceb0ed8de4 100644 --- a/builder-support/specs/dnsdist.spec +++ b/builder-support/specs/dnsdist.spec @@ -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