From 518dd9931f4a285be1166e8b6c24f1b7aeeb83ef Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Fri, 17 Jul 2026 10:00:37 +0200 Subject: [PATCH] changelog & SPEC file fixes Signed-off-by: Adam Prikryl --- libcap-ng.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libcap-ng.spec b/libcap-ng.spec index 08d5cfb..bc99934 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -7,6 +7,9 @@ URL: https://people.redhat.com/sgrubb/libcap-ng/ Source0: https://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz Patch1: libcap-ng-0.9.3-cap-audit-task-comm-len.patch %global bpf_arches aarch64 x86_64 ppc64le s390x +%ifarch %{bpf_arches} +%global cap_audit --enable-cap-audit +%endif BuildRequires: gcc BuildRequires: make BuildRequires: autoconf @@ -64,10 +67,7 @@ cp README.md README autoreconf -fvi %build -%configure --libdir=%{_libdir} --with-python=no --with-python3 \ -%ifarch %{bpf_arches} - --enable-cap-audit -%endif +%configure --libdir=%{_libdir} --with-python=no --with-python3 %{?cap_audit} %make_build CFLAGS="%{optflags}" %install