Fix build on non-bpf arches (i686, riscv64)
This commit is contained in:
parent
afb7ad1ffe
commit
7e396f9b12
@ -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 <eabdullin@almalinux.org> - 0.9.3-1.alma.1
|
||||
- Fix build on non-bpf arches (i686, riscv64)
|
||||
|
||||
* Thu May 14 2026 Sergio Arroutbi <sarroutb@redhat.com> - 0.9.3-1
|
||||
- Bump release to v0.9.3
|
||||
Resolves: RHEL-160081
|
||||
|
||||
Loading…
Reference in New Issue
Block a user