diff --git a/libcap-ng.spec b/libcap-ng.spec index 6bcdf34..9b5f011 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -1,7 +1,7 @@ Summary: Alternate posix capabilities library Name: libcap-ng Version: 0.9.3 -Release: 1%{?dist} +Release: 1%{?dist}.alma.1 License: LGPL-2.0-or-later URL: https://people.redhat.com/sgrubb/libcap-ng/ Source0: https://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz @@ -64,10 +64,10 @@ cp README.md README autoreconf -fvi %build -%configure --libdir=%{_libdir} --with-python=no --with-python3 \ %ifarch %{bpf_arches} - --enable-cap-audit +%global cap_audit --enable-cap-audit %endif +%configure --libdir=%{_libdir} --with-python=no --with-python3 %{?cap_audit} %make_build CFLAGS="%{optflags}" %install @@ -110,6 +110,9 @@ make check %{_datadir}/bash-completion/completions/* %changelog +* Wed Jun 17 2026 Eduard Abdullin - 0.9.3-1.alma.1 +- Fix build on non-bpf arches (i686, riscv64) + * Thu May 14 2026 Sergio Arroutbi - 0.9.3-1 - Bump release to v0.9.3 Resolves: RHEL-160081