libcap-ng/config.yaml
2026-06-17 10:13:51 +03:00

29 lines
789 B
YAML

actions:
- replace:
- target: "spec"
find: |
%build
%configure --libdir=%{_libdir} --with-python=no --with-python3 \
%ifarch %{bpf_arches}
--enable-cap-audit
%endif
%make_build CFLAGS="%{optflags}"
replace: |
%build
%ifarch %{bpf_arches}
%global cap_audit --enable-cap-audit
%endif
%configure --libdir=%{_libdir} --with-python=no --with-python3 %{?cap_audit}
%make_build CFLAGS="%{optflags}"
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Fix build on non-bpf arches (i686, riscv64)"