changelog & SPEC file fixes

Signed-off-by: Adam Prikryl <aprikryl@redhat.com>
This commit is contained in:
Adam Prikryl 2026-07-17 10:00:37 +02:00
parent 63aa45fd37
commit 518dd9931f

View File

@ -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